Changing time by mouse wheel in Chrome 83

79 views
Skip to first unread message

Wiktor Kazana

unread,
Jun 7, 2020, 5:39:15 AM6/7/20
to Chromium HTML5
In versions of Chrome lower than 83, time input can be quickly updated using mouse wheel. Now it requires opening lookup, changing values by mouse wheel and then clicking outside control to accept changes. Two additional steps are required from user to set the time.
I have configuration webpage for my hardware with lots of time fields to update. With the new chrome version it has become very annoying :( How can I set time by mouse wheel without opening lookup?
Keyboard events and sending Arrow Up/Down key to the control are not working.

PhistucK

unread,
Jun 7, 2020, 5:42:16 AM6/7/20
to Wiktor Kazana, Chromium HTML5
It is probably a regression from the form control refresh. You can use crbug.com to report this (search for existing issues first and star them instead).

Instead of sending arrow keyboard events, you can call timeInputElement.stepUp() or timeInputElement.stepDown() as a workaround.

PhistucK


--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-html...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-html5/f7769c04-eff1-4e82-8b68-af490cd3d9c9o%40chromium.org.

Wiktor Kazana

unread,
Jun 7, 2020, 6:18:54 AM6/7/20
to PhistucK, Chromium HTML5
Thanks for reply. I will follow the link you provided.
According to stepUp() / stepDown() - I don't know which part of time is currently focused (hours, minutes or seconds) and what to increment.
Do you know how to get that information?

thanks,
wk

PhistucK

unread,
Jun 7, 2020, 8:31:03 AM6/7/20
to Wiktor Kazana, Chromium HTML5
I am pretty sure you cannot get that information in JavaScript, those are implementation details of the control.

PhistucK

Reply all
Reply to author
Forward
0 new messages