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

Hackfix for safari infinite drawer flicker #23226

Closed
wants to merge 2 commits into from

Conversation

debugginator
Copy link

Related to #22812

I narrowed down the conditions under which the undesired behavior is triggered.
Basically, the problem is caused by a Safari bug @oliviertassinari mentioned here: #20947 (comment)

This PR offers a temporary solution that disables scrollLocking in case of:

  • Browser is Safari &
  • Viewport size is a bit smaller (scrollbar size) than the point where the breakpoint is triggered

This is my first PR here, all comments are welcome.

@mui-pr-bot
Copy link

mui-pr-bot commented Oct 23, 2020

Details of bundle changes

Generated by 🚫 dangerJS against ce38200

@oliviertassinari
Copy link
Member

oliviertassinari commented Oct 24, 2020

@debugginator We can't accept the changes, it's the media query that should be fixed, not the scroll lock.

@zannager zannager added component: drawer This is the name of the generic UI component, not the React module! browser: Safari labels Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: Safari component: drawer This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants