Skip to content

Conversation

applepicke
Copy link
Contributor

Fixes an issue where useFocusTrap was still attempting to steal tab focus even when providing a disabled function that evaluated to false. The disabled function was only being checked when attempting to enforce focus.

@applepicke applepicke changed the title fix disable focus trap fix: disable focus trap Aug 20, 2025
@applepicke applepicke changed the title fix: disable focus trap fix: disable focus trap completely when disabled prop evaluates to true Aug 20, 2025
@jquense jquense merged commit 77d6d86 into react-restart:main Aug 20, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants