Skip to content

fix(TimePicker): scroll dropdown to typed value in safari#7888

Merged
nicolethoen merged 1 commit intopatternfly:mainfrom
wise-king-sullyman:time-picker-safari-scroll-to
Sep 1, 2022
Merged

fix(TimePicker): scroll dropdown to typed value in safari#7888
nicolethoen merged 1 commit intopatternfly:mainfrom
wise-king-sullyman:time-picker-safari-scroll-to

Conversation

@wise-king-sullyman
Copy link
Copy Markdown
Collaborator

@wise-king-sullyman wise-king-sullyman commented Aug 26, 2022

What: Closes #7747

Additional issues:

I would like to be able to add a test for this bug, but since it's something that only presented in Safari I'm not sure how I would go about that. If anyone has any ideas for that please let me know!

Convenience link: https://patternfly-react-pr-7888.surge.sh/components/time-picker/

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Aug 26, 2022

Copy link
Copy Markdown
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Looks good in Safari, Chromium and Firefox!

In terms of a possible test, I couldn't come up with anything as of yet when attempting to look into things. Even with Cypress (if you really wanted to go there) there's no option for Safari in the browser options you can choose from.

@wise-king-sullyman
Copy link
Copy Markdown
Collaborator Author

@thatblindgeye that's pretty much where I landed on the test front as well, Cypress seems to be working on Safari support but unfortunately they aren't there yet.

Copy link
Copy Markdown
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

I agree it appears to work in chrome, safari, and firefox :)

@nicolethoen nicolethoen merged commit 2ce1891 into patternfly:main Sep 1, 2022
@wise-king-sullyman wise-king-sullyman deleted the time-picker-safari-scroll-to branch September 1, 2022 18:16
andyyvo pushed a commit to andyyvo/patternfly-react that referenced this pull request Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - [TimePicker] - [Typing a value does not trigger the dropdown to jump to it in Safari]

4 participants