Skip to content
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 component steals focus #17

Closed
kyubisation opened this issue May 28, 2019 · 0 comments · Fixed by #54
Closed

Pagination component steals focus #17

kyubisation opened this issue May 28, 2019 · 0 comments · Fixed by #54
Assignees
Labels
bug Something isn't working

Comments

@kyubisation
Copy link
Collaborator

Copied from https://issues-ext.sbb.ch/browse/SACL-150

Pagination component steals focus: Whenever a pagination component is created or maxPage changes the component grabs the focus.

This is a problem when filtering e.g. tables - every time the number of pages of the results table changes, the focus moves away from the search input.

I don't really understand why this component is grabbing focus at all, but it should be at least configurable to not grab the focus.

@kyubisation kyubisation added the bug Something isn't working label May 28, 2019
@kyubisation kyubisation self-assigned this May 28, 2019
kyubisation added a commit that referenced this issue Jun 25, 2019
BREAKING CHANGE: Removes link variants of pagination and navigation
components. The link variants caused focus issues, which can not easily
be resolved. If you need the link variants, you can open a feature request
and we will have another look at it.
Several properties of sbb-pagination have been renamed or refactored.
Check the documentation for the new specification.

Closes #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant