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

Open
YukiteruDev opened this issue Jan 10, 2024 · 3 comments
Open
Assignees
Labels
question Further information is requested

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants