[wp-trac] [WordPress Trac] #42114: Customize Menus: UX Improvements

WordPress Trac noreply at wordpress.org
Thu Oct 19 13:49:19 UTC 2017


#42114: Customize Menus: UX Improvements
----------------------------+----------------------
 Reporter:  melchoyce       |       Owner:  bpayton
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.9
Component:  Customize       |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  ui
----------------------------+----------------------

Comment (by bpayton):

 I attached a patch with a fix.

 It isn't perfect in that an `animationend` listener can remain attached to
 the highlighted button if anything interrupts animation. Both removing the
 animation class and removing the animated element from the DOM can
 interrupt animation. But a subsequent completed animation will remove the
 listener. I believe this is reasonable compromise over adding an
 additional cleanup attempt with `setTimeout` and a sufficient delay.

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


More information about the wp-trac mailing list