[wp-trac] [WordPress Trac] #13524: Open closed widget areas when dragging onto them

WordPress Trac noreply at wordpress.org
Sat May 9 06:44:41 UTC 2015


#13524: Open closed widget areas when dragging onto them
--------------------------------------------+-----------------------------
 Reporter:  mitchoyoshitaka                 |       Owner:  chriscct7
     Type:  enhancement                     |      Status:  accepted
 Priority:  normal                          |   Milestone:  4.3
Component:  Widgets                         |     Version:  3.0
 Severity:  normal                          |  Resolution:
 Keywords:  commit has-patch needs-testing  |     Focuses:  administration
--------------------------------------------+-----------------------------
Changes (by polevaultweb):

 * keywords:  needs-patch commit => commit has-patch needs-testing


Comment:

 @chriscct7 your previous patch meant that if you just hovered the mouse
 over a closed widget it would open. This patch now makes a closed widget
 area open if you drag a widget on to it after a 300ms delay (bit nicer at
 that length), the timeout gets cleared on the sortable.out event, so the
 area will not be opened if the widget is dragged away from the area within
 the timeout period.

 Thanks for the feedback @johnbillion and help @chriscct7.

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


More information about the wp-trac mailing list