Closed geniti closed 2 years ago
Hey there @geniti !
This can happen if there isn't a link/button within the <FocusTrap />
component and there is animations happening that could cause it to not be focusable when the focus trap component mounts.
There's a few solutions here:
active
prop to false until the animation is completefallbackFocus
ref via the focusTrapOptions
propI hope that helps, but let me know if you run into any specific issues with the core HULL components using FocusTrap!
Closing this, but holler if you have any more issues with this @geniti
this is due to none availability of tabbable controls. https://devphobia.com/posts/Your-focus-trap-must-have-at-least-one-container
This happens a lot not sure how to solve