1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-18 23:21:18 +02:00

fix: focus disappears in navigation (#5355)

This commit is contained in:
Ma'ruf
2024-04-01 19:20:16 +05:00
committed by GitHub
parent 0a89057823
commit 5fb4d3e2dc

View File

@@ -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,
}, },
)} )}
> >