mdn / mdn/web-components-examples
expanding-list-web-component err
Open
Nobody has claimed this yet.
bug
Content: WebAPI
help wanted
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 822
- PR merge metrics
- No merged PRs in 30d
Description
When I switch from Google's English to Chinese;
const nextul = e.target.nextElementSibling;
The value of nextul is null and cannot be expanded.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the expanding-list-web-component error after switching from Google's English to Chinese. Inspect the code around `const nextul = e.target.nextElementSibling` and determine why the expected sibling is missing in that case. Done means the expanding list works for the Chinese locale without breaking the English behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100