-
Notifications
You must be signed in to change notification settings - Fork 841
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
Adding unique IDs to EuiDatePicker
Time component options.
#5466
Conversation
EuiDatePicker
Time component options.
Preview documentation changes for this PR: https://eui.elastic.co/pr_5466/ |
Sounds like a bug to me if it was working in legacy but not in Amsterdam - could you file a separate issue for this? (Or if you'd rather fix in this PR, feel free!) |
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.
LGTM - just one minor changelog suggestion
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.
Current code changes LGTM
Agreed that the Legacy-Amsterdam difference seems like a bug. Feel free to open an issue and circle back if you'd like.
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Thank you EUI reviewers! I've spun out the Amsterdam CSS item as a separate issue so we can merge this PR. I'll pick it up as a fast follow item. #5471 |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5466/ |
UPDATE 12/14:
Question to reviewers below was spun out to a separate issue: #5471
Summary
axe-core was throwing an error for duplicated IDs in our
Time
component as part of EuiDatePicker. I added thehtmlGenerator()
function and appended a unique string for each LI. PR closes #5304.Question to reviewers
In our legacy theme, the selected time always seems to be centered after click or keypress events. The Amsterdam theme doesn't always center the selected time. Is this expected behavior or a bug?
Checklist
Added documentationAdded or updated **jest and [cypress](https://github.com/elastic/eui/blob/main/wiki/cypress-testing.md) tests**