svelte-headlessui
svelte-headlessui copied to clipboard
Make FocusTrap closer to React/Vue implementations
I don't remember any more why this ended up with a different implementation... looking back over it I don't see why it can't be closer to the others. In particular this gets in the way of porting the FocusTrap tests and exposing the component publicly.
This isn't really a user-facing bug, it's just to track internal cleanup.