-
Notifications
You must be signed in to change notification settings - Fork 78
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
Pagination: inconsistent focus ring #5113
Comments
@ashetland + @SkyeSeitz: Thoughts on the design with pagination's |
Agree with @benelan, that the expected behavior is the correct behavior. To maintain consistency in the pattern, the focus ring should not auto-advance. cc @geospatialem |
See this example from Ant where the focus ring moves to the clicked/active page. This happens with both mouse and keyboard input. https://ant.design/components/pagination#pagination-demo-more |
Actual Behavior
When clicking the number directy next to the ellipses, the focus ring is actually on the number after.
Expected Behavior
The number that was clicked has a focus ring, which is how the component behaves when clicking on a page number that is not next to the ellipses (see comment below for an example from Ant)
Reproduction Sample
https://codepen.io/benesri/pen/YzavJga?editors=1000
Reproduction Steps
Reproduction Version
beta.86
Relevant Info
The issue started all the way back in
beta.22
and I found this line in its changelog entry:But unfortunately no linked PR
Regression?
beta.22
The text was updated successfully, but these errors were encountered: