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

[ic-pagination-bar] - changing items per page causes immediate datatable change #3108

Open
ad9242 opened this issue Jan 28, 2025 · 0 comments
Labels
type: bug 🐛 Something isn't working

Comments

@ad9242
Copy link
Contributor

ad9242 commented Jan 28, 2025

Summary of the bug

As mentioned under #3019, when changing the items per page on a pagination bar via keyboard navigation, the data-table updates immediately to the new length. It would be good if this could be changed only when enter is pressed

It should already be possible by setting the selectOnEnter prop to true

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Go to page: data-table pagination storybook
  2. Using keyboard tab to page length select control
  3. Press the arrow down key
  4. See the data-table length changes

🧐 Expected behaviour

To Be confirmed: the behaviour should either require pressing enter to select or be configurable

It needs to apply the the built in pagination bar or a custom slotted one

@ad9242 ad9242 added the type: bug 🐛 Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant