fix: focus disappears in navigation (#5355)

pull/5447/head
Ma'ruf 8 months ago committed by GitHub
parent 0a89057823
commit 5fb4d3e2dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/components/NavigationDropdown.tsx

@ -73,9 +73,9 @@ export function NavigationDropdown() {
</button> </button>
<div <div
className={cn( className={cn(
'absolute pointer-events-none left-0 top-full z-[999] mt-2 w-48 min-w-[320px] -translate-y-1 rounded-lg bg-slate-800 py-2 opacity-0 shadow-xl transition-all duration-100', 'absolute pointer-events-none invisible left-0 top-full z-[999] mt-2 w-48 min-w-[320px] -translate-y-1 rounded-lg bg-slate-800 py-2 opacity-0 shadow-xl transition-all duration-100',
{ {
'pointer-events-auto translate-y-2.5 opacity-100': isOpen, 'pointer-events-auto visible translate-y-2.5 opacity-100': isOpen,
}, },
)} )}
> >

Loading…
Cancel
Save