-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix(DataTable): return correct sort direction in sort action callback #8048
fix(DataTable): return correct sort direction in sort action callback #8048
Conversation
6e0ebd8
to
a9aeec9
Compare
Deploy preview for carbon-elements ready! Built with commit 6e0ebd8 |
Deploy preview for carbon-components-react ready! Built with commit 6e0ebd8 https://deploy-preview-8048--carbon-components-react.netlify.app |
Deploy preview for carbon-elements ready! Built with commit 5adf99c |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 5adf99c https://deploy-preview-8048--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #4704
This PR returns the correct sort direction to the
handleSortBy
callback function in the DataTable's built in state managerTesting / Reviewing
Confirm that the table sort parameters passed down to a user-provided
handleSortBy
callback accurately reflects the sort state now