-
Notifications
You must be signed in to change notification settings - Fork 594
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
Possible fix for Shadow DOM retargeting #819
Labels
Comments
8 tasks
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently using Choices in a WebComponent results in issues with some events, most notably the "click" event due to retargeting in events that bubble out of the shadow dom. It has been pointed out in this issue:
#805
Keyboard events however work as expected, since the event listeners are not being added to the
documentElement
, but instead they are added tothis.containerOuter.element
, so theevent.target
doesn't get "retargeted" by the time the event is captured. Is there a reason to give different treament to these events types?In a simple test on my WebComponent where I have a simple single select input everything seemed to work as expected when adding all listeners to
this.containerOuter.element
.The text was updated successfully, but these errors were encountered: