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

Browser compatible issue: StyleProvider hashPriority is not working. #2597

Closed
YukiteruDev opened this issue Jan 10, 2024 · 4 comments
Closed
Assignees
Labels
invalid This doesn't seem right

Comments

@YukiteruDev
Copy link

There is this code in App.js which should disable all the :where selectors in the page and make the styles compatible to legacy browsers:

<StyleProvider hashPriority="high" transformers={[legacyLogicalPropertiesTransformer]}>
  {this.renderPage()}
</StyleProvider>

But it's not working as expected, components inside the /login page are still using the :where selector.

This happends to the latest unmodified version of casdoor.

@casbin-bot
Copy link
Contributor

@casbin-bot casbin-bot added the question Further information is requested label Jan 10, 2024
@hsluoyz
Copy link
Member

hsluoyz commented Jan 10, 2024

@LaurenceYoungDev can you make a PR to fix it?

@YukiteruDev
Copy link
Author

@hsluoyz I tried but I couldn't locate the issue and took a alternative solution. If you guys can tell me where and what is causing this issue maybe I can fix it.

@hsluoyz hsluoyz closed this as completed Jul 28, 2024
@hsluoyz hsluoyz added invalid This doesn't seem right and removed question Further information is requested labels Jul 28, 2024
@hsluoyz
Copy link
Member

hsluoyz commented Jul 28, 2024

Cannot reproduce, closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants