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

unstable_Pagination does not fire onChange for next and previous buttons #9313

Closed
tusharcoepit opened this issue Jul 26, 2021 · 2 comments · Fixed by #9355
Closed

unstable_Pagination does not fire onChange for next and previous buttons #9313

tusharcoepit opened this issue Jul 26, 2021 · 2 comments · Fixed by #9355

Comments

@tusharcoepit
Copy link

tusharcoepit commented Jul 26, 2021

Pagination component has a performance issue when data is huge.

#162

As an alternative we are trying to use unstable_Pagination, but it does not trigger onChange on click of next and previous buttons.

Any other alternatives to handle the performance issue with Pagination is also welcome.

We are on "@carbon/ibm-security": "1.41.0",

ibm-security issue reference -> carbon-design-system/ibm-security#1051

@tay1orjones
Copy link
Member

Thanks for reporting this @tusharcoepit, could you create a reproduction codesandbox so this can be looked at more closely?

@tusharcoepit
Copy link
Author

@tay1orjones Issue can be seen from Actions tab on https://react.carbondesignsystem.com/?path=/story/experimental-unstable-pagination--with-a-page-selector where event is triggered only on page change on not on next / previous.
Let me know if sandbox is still needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants