Skip to content

Commit

Permalink
avoid menu logic for empty tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoskolodny committed Oct 28, 2024
1 parent d0f1fef commit ab105cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ export const MainNavigationBar = ({
[styles.firstSection]: idx === 0,
[styles.lastSection]: idx === sections.length - 1,
})}
onMouseEnter={() => setDesktopHoveredSection(idx)}
onMouseEnter={() => setDesktopHoveredSection(menu ? idx : -1)}
onMouseLeave={() => setDesktopHoveredSection(-1)}
>
<BaseTouchable
Expand Down

0 comments on commit ab105cb

Please sign in to comment.