[wp-trac] [WordPress Trac] #32882: Customizer search Widgets events

WordPress Trac noreply at wordpress.org
Sat Jan 30 15:33:38 UTC 2016


#32882: Customizer search Widgets events
-------------------------+-----------------------------
 Reporter:  afercia      |       Owner:  valendesigns
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  javascript
-------------------------+-----------------------------

Comment (by afercia):

 There's now a new pattern in core which uses feature detection to
 determine whether inputs should use the `keyup` or `input` event, see
 [34078] and [36379]. As I see it, this should become standard.
 {{{
 if ( 'oninput' in document.createElement( 'input' ) ) {
         inputEvent = 'input';
 } else {
         inputEvent = 'keyup';
 }
 }}}
 Any chance to see some progress here? :) cc @ocean90

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32882#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list