Opened 15 months ago

#15386 new bug

No overflow overlay support

Reported by: Surgie Finesse Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

There is a CSS property overflow. One of the possible values it overlay. It works the same way as auto but renders the scrollbars over the element content.

jQuery UI handles overflow: overlay like overflow: visible. For example, a plugin instance like this

$element.parent().css('overflow', 'overlay');
$element.draggable({scroll: true});

Won't scroll the parent when the element is dragged.

Demo: https://codepen.io/TheFinesse/pen/RwaPGQZ. See it in Chrome. The bug is not reproduced in browsers that don't support overflow: overlay.

The expected behavior is to treat overflow: overlay exactly like overflow: auto. Maybe there are similar issues with other components.

Change History (0)

Note: See TracTickets for help on using tickets.