-
-
Notifications
You must be signed in to change notification settings - Fork 892
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
Web component click events not triggered in Chakra UI's Modal
#1484
Comments
This would stop bubbling which solid won't get to handle the event at all (Probably report there). You can still use native events. On a related note, solid could also delegate at capturing phase which might be useful in some rare cases. |
That's what I guessed. Do you know why it would work with native events but not the delegated event? Not sure what would be the best solution for me there. I probably need to do something on Chakra UI's side then. Do you have a quick win fix for the EDIT: Delegated content are created using |
Is there any resolution that is being asked for, or is this more of a question? |
All good on my side! This can be closed |
Describe the bug
My web components work perfectly in my React app.
But when I embed it in a Chakra UI
Modal
, all the click events of the web component don't trigger. It's not an issue with Chakra UI because I couldn't reproduce with a "native" web component (https://codesandbox.io/s/still-tdd-r963u1)It happens with all the web components created with
customElement
from solid-elementYour Example Website or App
https://codesandbox.io/s/gifted-satoshi-rux0b0
Steps to Reproduce the Bug or Issue
Expected behavior
Click events should work.
Screenshots or Videos
No response
Platform
Additional context
Here is the source of the
solid-counter.ts
file:The text was updated successfully, but these errors were encountered: