[wp-trac] [WordPress Trac] #30223: Customizer range controls don't update until the mouse is released
WordPress Trac
noreply at wordpress.org
Sat Nov 1 00:03:13 UTC 2014
#30223: Customizer range controls don't update until the mouse is released
--------------------------+-----------------------------
Reporter: sublink | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.0
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
When adding customizer control with a type of `range`, the preview JS
doesn't receive an event until the mouse is released.
I believe the customizer is listening for the onchange event, but it looks
like that should only be triggered when the user releases the mouse. To
get continuous updates, you can use the oninput event, which will capture
live updates in Firefox, Safari and Chrome, both from the mouse and the
keyboard.
However, oninput is not supported in IE10, so you might have to combine
the two event handlers.
https://bugzilla.mozilla.org/show_bug.cgi?id=853670
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30223>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list