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

[base-ui][select] Fix screen-reader CSS to avoid body scrollbar #40599

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

brijeshb42
Copy link
Contributor

@brijeshb42 brijeshb42 commented Jan 15, 2024

@brijeshb42 brijeshb42 requested review from michaldudak and a team January 15, 2024 09:37
@mui-bot
Copy link

mui-bot commented Jan 15, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 1aeeea0

@brijeshb42 brijeshb42 added the package: base-ui Specific to @mui/base label Jan 15, 2024
Copy link
Contributor

@zanivan zanivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@oliviertassinari oliviertassinari changed the title [base] Fix screen-reader css to avoid scrollbar [base-ui] Fix screen-reader css to avoid scrollbar Jan 16, 2024
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! regression A bug, but worse labels Jan 16, 2024
@@ -4,6 +4,7 @@ import {
unstable_useForkRef as useForkRef,
unstable_useId as useId,
unstable_useEnhancedEffect as useEnhancedEffect,
visuallyHidden as visuallyHiddenStyle,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Off-topic

One day, it would be great to move this to its own folder

Suggested change
visuallyHidden as visuallyHiddenStyle,
import { visuallyHidden } from '@mui/utils/visuallyHidden',

per #35840

@oliviertassinari oliviertassinari changed the title [base-ui] Fix screen-reader css to avoid scrollbar [base-ui][select] Fix screen-reader css to avoid scrollbar Jan 16, 2024
@oliviertassinari oliviertassinari changed the title [base-ui][select] Fix screen-reader css to avoid scrollbar [base-ui][select] Fix screen-reader CSS to avoid body scrollbar Jan 16, 2024
@brijeshb42 brijeshb42 merged commit 8d5a3c9 into mui:master Jan 16, 2024
22 checks passed
@brijeshb42 brijeshb42 deleted the fix-40565 branch January 16, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: select This is the name of the generic UI component, not the React module! package: base-ui Specific to @mui/base regression A bug, but worse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[base-ui][Select] Buggy absolute input triggers body scrollbar
4 participants