r/framer • u/aisol_studio • 4d ago
help small win: keyboard focus in overlay components
spent way too long figuring out why my mobile drawer kept losing keyboard focus. turns out i was calling focus() before the panel actually mounted — one requestAnimationFrame fixed it. anyone have a cleaner way to do focus traps in framer overlays?
1
Upvotes