-
Notifications
You must be signed in to change notification settings - Fork 617
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
Adding ShadowDom support. #938
Conversation
What's the status of this PR @travist? |
Is there a chance that this request will be merged or what still needs to be done? |
I'm running into a similar issue. Trying to isolate the styles for the component using formio selector using Shadow Dom. Choices.js does not seem to work. |
Hello, @travist. I saw that the current version of Formio has modifications to the choice js within it; how do I make this work with Angular shadow DOM?
Thanks in advance. |
My workaround can be helpful for someone: #805 |
is there any update on this? |
Choices-js#938 # Conflicts: # src/scripts/constants.ts
Thanks! Implemented as part of #1166 |
Description
This change allows for this library to work within a Shadow Dom
If you have this library embedded within a shadow dom, it will not work
Fixes:
Screenshots (if appropriate)
Types of changes
This adds a new configuration where you can pass the shadowRoot as a configuration. If you this configuration, then this will work in a shadow dom like so.
Checklist