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
When there is an interactive element (e.g link) placed in an overflow container, focusing on it doesn't scroll it into view.
I'd expect the link to be scrolled into view, just as in the native browser behavior (at least in Chrome and Firefox).
https://codesandbox.io/p/devbox/radix-focusable-element-in-scrollable-container-v9wly2
Tab
Turn off preventScroll for this case. Patching this line manually seems to fix the problem.
preventScroll
Judging by the comment above the line linked above, I'm wondering if this was not thought-of, or deliberate action?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Current Behavior
When there is an interactive element (e.g link) placed in an overflow container, focusing on it doesn't scroll it into view.
Expected behavior
I'd expect the link to be scrolled into view, just as in the native browser behavior (at least in Chrome and Firefox).
Reproducible example
https://codesandbox.io/p/devbox/radix-focusable-element-in-scrollable-container-v9wly2
Tab
so the link becomes focusedSuggested solution
Turn off
preventScroll
for this case. Patching this line manually seems to fix the problem.Additional context
Judging by the comment above the line linked above, I'm wondering if this was not thought-of, or deliberate action?
Your environment
The text was updated successfully, but these errors were encountered: