-
Notifications
You must be signed in to change notification settings - Fork 321
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
feat(Table): new sort behavior #1935
feat(Table): new sort behavior #1935
Conversation
a3c64e7
to
292b18a
Compare
Not ready yet - design wants extra UX functionalities |
fe9ac86
to
0d4ccf7
Compare
…l hover with mouse
0d4ccf7
to
9d5ed1e
Compare
…39907 # Conflicts: # packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss
621e496
to
5828ee9
Compare
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.
Amazing!
cleanup(); | ||
const { getByText } = renderComponent({ onBlur, blurOnMouseUp: false }); | ||
const { getByText } = render( | ||
<Button onBlur={onBlur} blurOnMouseUp={false}> |
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.
I didn't even notice that we have this prop
aria-sort={onSortClicked ? ariaSort : undefined} | ||
tabIndex={onSortClicked ? 0 : undefined} |
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.
null instead?
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.
on purpose, since I do not want the prop to be defined, it is the same as we're not passing a prop at all
for aria-sort
for example, I do not want to show aria-sort in the DOM since a screen-reader can think it is sortable
for tabIndex
, null is not a correct value, and I want to use the default
…led (solves a11y issue) (#1994)
Co-authored-by: Tal Koren <[email protected]>
bc04a4a
to
fc1b36b
Compare
…idden when onClick
https://monday.monday.com/boards/3532714909/pulses/5898339907