Safari transition-opacity is broken on buttons with icons #15710
daveycodez
started this conversation in
General
Replies: 1 comment
-
Found an old fix from 2015 for a different bug in Chrome but it actually works here. transform: translateZ(0); If you add this to the button, it won't shift around on hover anymore with transition-opacity in Safari |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hover this button in Safari on MacOS and you will see it shift a pixel:
This is especially apparent on the NextUI website https://nextui.org hover any buttons with icons on them on Safari on macOS. I originally reported it as a bug with NextUI but here I have recreated it with native Tailwind.
Beta Was this translation helpful? Give feedback.
All reactions