-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a useConstrainedTabbing hook #27544
Conversation
Size Change: +20.6 kB (1%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
@youknowriad I have a PR for |
Looks like the mobile tests are failing here. cc @ceyhun |
Didn't see any issues in the android screen recordings and iOS is passing. Will restart the android one. |
In the last commit, I'm exposing an empty useConstrainedTabbing hook for mobile. I hope it fixes the issue. |
Follow-up to #27502
This refactors the existing withConstrainedTabbing HoC as a React hook to avoid the extra wrapper.
This is the first of three or four a11y HoCs I'd like to refactor. The goal here is to be able to remove the PopoverWrapper component that is duplicated across three packages and reuse a single hook.