-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Grow] Grow component is blinking on appear in Safari 15.4 #31849
Comments
hello, I have the same problem with the Tooltips in Safari 15. Grabacion.de.pantalla.2022-03-17.a.la.s.08.36.00.mov |
I was able to narrow this down to the |
I was able to eliminate this visual glitch in Safari by replacing
with
I also noticed the exit effect was somewhat jerky in mobile Safari, so I ended up with the following patch-package. Not sure this is the right solution for MUI as it seems like a workaround for a Safari-specific bug, but maybe someone will find it helpful until a proper fix is in place. At least, this patch eliminated most of the current flickering in my projects. `patch-package`
P.S. This definitely looks like a Safari 15.4 bug. I was able to get my hands on a VM with Safari 15.3 and I'm not seeing this glitch in Safari 15.3. |
Duplicate of #31380 |
@igordanchenko The workaround you proposed seems to do the trick. Would you like to create a PR? It does change the appearance of the transition, but it seems we have to do this until webkit fixes the issue on their side. Aside from changes in line 99, lines 140-141 also would have to be updated to fix the out transition. |
Sure, I鈥檒l send a PR shortly. |
It would be great to use this workaround only in Safari 15.4, so the appearance of the animation is not degraded in other browsers. |
@michaldudak, the PR is ready for review. |
@michaldudak This issue is also presented in latest v4 and it is quite critical UX issue IMO. Is it considerable to apply this fix to v4 as well? |
@orenklein Yes, we can do it. Would you like to prepare a PR (also taking #32202 into consideration)? |
Hey, what's the state of things with this issue? |
All linked PRs are merged into master, and the latest fixes are available in v5.6.1 |
I would like to ask when the issue will be repaired in v4? |
@orenklein, @yjbin, a cherrypick of the fix on the |
@davidbonnet, you probably want to backport #32202 as well |
Done. |
Duplicates
Latest version
Current behavior 馃槸
Grow component is blinking on appear in Safari 15.4. The below slow-mo recording demonstrates this issue in Menu component captured at https://mui.com/components/menus/#main-content
IMG_0333.mp4
Original description:
Menu component is appearing twice in Safari creating blinking effect. I noticed this behavior only in Safari (both desktop and mobile)
Screen.Recording.2022-03-17.at.12.23.55.AM.mp4
Expected behavior 馃
Menu appearing effect should be consistent across major browsers. The below screen recording shows the same menu opening in Chrome without blinking.
Screen.Recording.2022-03-17.at.12.36.05.AM.mp4
Steps to reproduce 馃暪
Steps:
Isolated demo:
Context 馃敠
No response
Your environment 馃寧
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: