Skip to content

Conversation

Michael-Hanley
Copy link
Contributor

  • Adds onKeyUp event to aid in ADA compliance

Needed for keyboard navigation. Current functionality does not allow a user to sort with their keyboard,

Still doesn't call out ascending or descending order on a screen reader but I felt like this was a start.

#1238

Copy link
Member

@AllenFang AllenFang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks your contribution

@AllenFang AllenFang merged commit bfb2592 into react-bootstrap-table:develop Feb 9, 2020
@tommica
Copy link

tommica commented Apr 8, 2020

I'm using "react-bootstrap-table" in my application, and I have the issue that in a text filter on a column, when a user types in and presses enter, it will trigger the sort event, instead of the filter event - making it so that both the sort and filter event is triggered.

Is there a way to make it so that pressing enter in the text field does not bubble the event?

The screenshot shows the initial sort, and then what happens when I typed into a text filter and pressed enter
Screenshot 2020-04-08 at 08 42 26

@hauhuynh1208
Copy link

@tommica same issue
Could you please share me the workaround for this issue?

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

Labels

None yet

4 participants