We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c6f8f commit db162dcCopy full SHA for db162dc
2 files changed
.changeset/stupid-gifts-juggle.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Fixes issue in Safari where navigating between profile tabs caused the navbar icons to shift unexpectedly.
packages/clerk-js/src/ui/elements/Navbar.tsx
@@ -290,7 +290,11 @@ const NavButton = (props: NavButtonProps) => {
290
elementDescriptor={iconElementDescriptor}
291
elementId={iconElementId}
292
icon={icon}
293
- sx={{ opacity: isActive ? 1 : 0.7 }}
+ sx={{
294
+ opacity: isActive ? 1 : 0.7,
295
+ // Fixes a bug in Safari where the icon shifts when navigating between routes.
296
+ transform: 'translateZ(0)',
297
+ }}
298
/>
299
{children}
300
</Button>
0 commit comments