-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs-infra] Product switcher popup not closing #41128
Comments
Hey @oliviertassinari I can work on resolving this bug. It would be great if you can assign this to me. |
This should be a simple bug to fix but one that will be increasingly more annoying as we improve the use of "layouts" in our docs to improve performance. @divyammadhok Go ahead, thanks |
Hey @oliviertassinari I added a PR for this issue - 41128 |
Same bug, the user feedback is broken, it should close when going to the same area: Screen.Recording.2024-02-18.at.15.02.15.movhttps://mui.com/material-ui/getting-started/ Off-topic wonder if we shouldn't open in a new tab as the Google app switcher works: ![]() |
@oliviertassinari Yeah, but for Google app switcher I believe the motivation is that it's possible a user is editing on the current tab but for MUI docs it's more of a readonly documentation, so not sure, if opening in new tab good for UX. Also you can check this accessibility guideline for redirection in new tab https://www.w3.org/TR/WCAG20-TECHS/G201.html Ideally from a better accessibility perspective it's advised to open in same tab as opening in new tab takes away from the ability to use back to continue where they were previously. Edit: Kindly check the PR once more, have updated the logic. |
Steps to reproduce
Steps:
Context
This is because of the use of a layout, related to #41117.
Your environment
npx @mui/envinfo
Search keywords: -
The text was updated successfully, but these errors were encountered: