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

在shadowRoot中使用时, 切换theme算法无效. #189

Open
SakuraHentai opened this issue Jul 25, 2024 · 0 comments · May be fixed by #190
Open

在shadowRoot中使用时, 切换theme算法无效. #189

SakuraHentai opened this issue Jul 25, 2024 · 0 comments · May be fixed by #190

Comments

@SakuraHentai
Copy link

image

原因在

removeCSS(styleId, { mark: ATTR_MARK });

无传递 container 到 attachTo, getContainer 使用了页面的 document 而非指定的 container. 导致旧样式无删除.

@SakuraHentai SakuraHentai linked a pull request Jul 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant