We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useTrapFocus show keep the focus inside all focusable elements in Sfdrawer, but seems to be working only working for the first focusable element.
This wrong behavior can be seen in the storefront-ui demos: Drawer transition and trap focus preview, where the focus is kept in the close icon.
As a side effect, is not possible to have an input inside a drawer, as it never gets focused.
Using tab, user should be able to move through all the focusable elements.
See: Drawer transition and trap focus
@storefront-ui/react@2.7.0
Next.js
v20.3.0
Chrome
MacOS
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
useTrapFocus show keep the focus inside all focusable elements in Sfdrawer, but seems to be working only working for the first focusable element.
This wrong behavior can be seen in the storefront-ui demos: Drawer transition and trap focus preview, where the focus is kept in the close icon.
As a side effect, is not possible to have an input inside a drawer, as it never gets focused.
Expected behavior
Using tab, user should be able to move through all the focusable elements.
Steps to reproduce
See: Drawer transition and trap focus
SFUI version
@storefront-ui/react@2.7.0
Framework
Next.js
Node version
v20.3.0
Browser
Chrome
OS
MacOS
Relevant log output
No response
Able to fix / change the documentation?
Code of Conduct
The text was updated successfully, but these errors were encountered: