commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Focus trap does not trap focus

Open hsdonkin opened this issue 2 years ago • 2 comments

Tested this with the <Modal /> component, where <FocusTrap /> is used. It's possible to reverse tab into the main.

recording (39)

hsdonkin avatar Sep 23 '21 16:09 hsdonkin

It happened the same to me and I finally ended up adding focus-trap-react. Hope this helps

luisorbaiceta avatar Oct 21 '21 11:10 luisorbaiceta

Moving to focus-trap-react worked well.

charkour avatar Jan 14 '22 17:01 charkour

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966

leerob avatar Apr 18 '23 02:04 leerob