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

[website] Fix strange focus-visible on hover #42924

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 14, 2024

Open https://next.mui.com/.

Screen.Recording.2024-07-14.at.01.38.14.mov

A regression from #42603.

I think the root of the bug is w3c/csswg-drafts#5885.

The navigation menu logic itself on the website pages feels a bit broken. For example, I'm confused as for why one works with tabs and the other is a composite widget (works with arrows), it feels like this should truly be abstracted into a Base UI module but 🤷‍♂️ for now, no time. I have noticed this problem from #42767. @andy-hook this make me think of radix-ui/primitives#1172, and why it was a great move.

Preview: https://deploy-preview-42924--material-ui.netlify.app/

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work website Pages that are not documentation-related, marketing-focused. regression A bug, but worse labels Jul 14, 2024
@mui-bot
Copy link

mui-bot commented Jul 14, 2024

Netlify deploy preview

https://deploy-preview-42924--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 7afaa17

@oliviertassinari oliviertassinari force-pushed the website-fix-focus-visible branch 2 times, most recently from bafce59 to a88dfbe Compare July 14, 2024 00:15
@zannager zannager requested a review from siriwatknp July 15, 2024 11:53
@oliviertassinari oliviertassinari merged commit 2fe1e9c into mui:next Jul 19, 2024
19 checks passed
@oliviertassinari oliviertassinari deleted the website-fix-focus-visible branch July 19, 2024 23:38
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work regression A bug, but worse website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants