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

Fix screenreader text in DG sort dropdown #5084

Merged
merged 4 commits into from
Aug 25, 2021
Merged

Conversation

snide
Copy link
Contributor

@snide snide commented Aug 25, 2021

Summary

Fixes #5081

EuiScreenReader uses clones to apply classnames. If wrapped around an i18n block along, it can not pass the CSS class to the inner item.

image
image

Checklist

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5084/

Copy link
Member

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Confirmed this is working great - thanks Dave!

src/components/datagrid/column_sorting_draggable.tsx Outdated Show resolved Hide resolved
snide and others added 2 commits August 25, 2021 13:33
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5084/

1 similar comment
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5084/

@snide snide merged commit f1f395f into elastic:master Aug 25, 2021
@snide snide deleted the dg/screenreader branch August 25, 2021 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EuiDataGrid] EuiScreenReaderOnly text displaying in Data Grid sort
3 participants