We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I found out that when <style> is dynamically updated with new css, polyfill doesn't handle it.
Example: https://stackblitz.com/edit/js-pkkkut?file=index.js,style.css,index.html,tsconfig.json
After some research I found that the polyfill should parse and apply polyfill logic again after <style> was updated
I've tried to do naive fix and implement update method for StyleElementController:
update
StyleElementController
updated() { this.controller?.abort() this.connected(); }
But I'm not sure if it a right place to do it.
What is the proper way to make it handle this case?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I found out that when <style> is dynamically updated with new css, polyfill doesn't handle it.
Example: https://stackblitz.com/edit/js-pkkkut?file=index.js,style.css,index.html,tsconfig.json
After some research I found that the polyfill should parse and apply polyfill logic again after <style> was updated
I've tried to do naive fix and implement
update
method forStyleElementController
:But I'm not sure if it a right place to do it.
What is the proper way to make it handle this case?
The text was updated successfully, but these errors were encountered: