expanding-list-web-component err

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend

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.

Description

bug Content: WebAPI help wanted

When I switch from Google's English to Chinese;
const nextul = e.target.nextElementSibling;
The value of nextul is null and cannot be expanded.

Dominant language
JavaScript
Stars
3.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mdn/web-components-examples

All issues in mdn/web-components-examples

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.