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

No scrolling possible at HTML input fields of type "time" and HTML Select #3512

Closed
weaslyko opened this issue May 25, 2023 · 10 comments
Closed
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@weaslyko
Copy link

weaslyko commented May 25, 2023

Hello,
we are actually experiencing an issue with the HTML input field of type "time". When using in Webview2 there is no possibility to scroll the values with the mouse wheel.
I will show u the issue in an attached video. As u can see there, changing the value with the keyboard is no problem. But with the mouse wheel..
(Unfortunately, the dropdown menu is not displayed correctly in the video. Therefore i attached a screenshot of it.)

Framework: UWP
We are using WebView2 1.0.1264.42 with Microsoft.UI.Xaml 2.8.2

If u need any other information please contact me.

I hope for your support!

Best regards!

DIMA-NMA.Global.L+G.ALL.2023-05-25.11-56-12.mp4

Screenshot 2023-05-25 120203

AB#44895924

@david-risney
Copy link
Contributor

@weaslyko Do I understand correctly that the issue is solely about the mouse wheel not working with the <input type=time's dropdown menu? It does make it difficult to use the dropdown menu using the mouse since it seems like the mouse wheel is the only way to get to the time values that aren't first visible in the dropdown (it has 7 rows for choosing hours and minutes).

I tried the MDN type=time doc with the following results:

App Runtime SDK Works
Win32 Sample App 113.0.1774.50 1.0.1777.0 ✔️
Win32 Sample App 115.0.1880.0 1.0.1777.0 ✔️
WinUI 2 Sample App 113.0.1774.50 1.0.1619.0
WinUI 2 Sample App 115.0.1880.0 1.0.1619.0
WinUI 3 Gallery 113.0.1774.50 1.0.1661.34 ✔️
WinUI 3 Gallery 115.0.1880.0 1.0.1661.34 ✔️

@champnic @bradp0721 is this a known issue? Seems like a bug with WinUI2 / UWP where mouse wheel isn't getting to the time picker flyout?

@david-risney david-risney added the bug Something isn't working label May 26, 2023
@bradp0721
Copy link
Member

@johna-ms, sounds like an issue with owned windows in UWP. Are you aware of this?

@weaslyko
Copy link
Author

@david-risney Thank you for your quick answer. Yes, thats absolutely right. It is just about the mouse wheel not working with the input type=time dropdown menu!
I look forward to further insights.
Best regards.

@applefanbois
Copy link

Dropdown (select list) do not scroll with the mouse wheel.

Cannot scroll dropdown list in WebView2 with the mouse wheel under WinUI3.

@johna-ms
Copy link
Contributor

johna-ms commented Jun 2, 2023

@bradp0721 confirming this is an issue with owned windows. I can take this over

@applefanbois
Copy link

I created another ticket because I don't know if they are related.

#3534

@johna-ms
Copy link
Contributor

johna-ms commented Jun 2, 2023

@applefanbois thanks for that, though I think they are the same underlying bug

@johna-ms johna-ms added the tracked We are tracking this work internally. label Jun 3, 2023
@champnic champnic changed the title No scrolling possible at HTML input fields of type "time" No scrolling possible at HTML input fields of type "time" and HTML Select Jun 5, 2023
@weaslyko
Copy link
Author

Hello @johna-ms,

i just wanted to ask if u got an update on this issue for me?

Best regards!

@johna-ms
Copy link
Contributor

@weaslyko and others, the fix for this should be in Canary and will likely be in stable in mid August. Please try it out and verify it is fixed!

@champnic
Copy link
Member

Fixed in runtimes 116.0.1917.0+. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

6 participants