Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expanding-list-web-component err #29

Open
THINKING-REEDs opened this issue Jul 31, 2020 · 1 comment
Open

expanding-list-web-component err #29

THINKING-REEDs opened this issue Jul 31, 2020 · 1 comment
Labels
bug Indicates an unexpected problem or unintended behavior. Content: WebAPI help wanted If you know something about this, we would love your help!

Comments

@THINKING-REEDs
Copy link

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

@Rumyra
Copy link
Contributor

Rumyra commented May 6, 2022

Google translate adds elements to the dom, which interrupts the functionality of the web component in this instance (from a quick test it appears to add <font> elements).

To fix this de-coupling the javascript from the dom elements (ie using classes/ids instead) would be needed.

@Rumyra Rumyra added bug Indicates an unexpected problem or unintended behavior. help wanted If you know something about this, we would love your help! Content: WebAPI time: -3hr labels May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior. Content: WebAPI help wanted If you know something about this, we would love your help!
Projects
None yet
Development

No branches or pull requests

3 participants