[wp-trac] [WordPress Trac] #27348: Widget Customizer: Bigger, Longer Widgets not Scrollable

WordPress Trac noreply at wordpress.org
Thu Mar 27 20:29:51 UTC 2014


#27348: Widget Customizer: Bigger, Longer Widgets not Scrollable
------------------------------+-------------------------
 Reporter:  daveshine         |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  high              |   Milestone:  3.9
Component:  Widgets           |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------

Comment (by adamsilverstein):

 Replying to [comment:18 westonruter]:
 > Replying to [comment:15 westonruter]:
 > > I'm trying to recall why animating `left` position was not used. I
 think I was going down this road initially, and the `z-index` was required
 to force the widget to appear behind the panel. But then I went with
 animating the `width` instead, perhaps for parity with the `height`
 animation of the non-wide controls.
 >
 > Oh, I think I may have switched from animating `left` to animating
 `width` to make it easier for RTL. But RTL can be easily accommodated by
 switching `left` to `right` when we detect RTL is on. But to switch back
 to animating position, we'd have to restore the negative `z-index`.

 If we still see the flashing/white in chrome with a lowered z-index with
 the sliding animation, another option would be to raise the z-index of the
 wrapper (maybe .wp-full-overlay-sidebar?) then reset it after the
 animation completes.

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


More information about the wp-trac mailing list