#2310 closed bug (fixed)
sortable forces dragged elements to visible
Reported by: | jr | Owned by: | paul |
---|---|---|---|
Priority: | minor | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.2 |
Keywords: | sortable visible | Cc: | |
Blocked by: | Blocking: |
Description
When an element has finished being dragged by sortable, the visibility is switched to 'visible', overriding any visibility of its parents. This means, for example, that the element will still be visible if its parent is being dragged by an enclosing sortable. Ideally it should be returned to what it was, but at least it should be reset to inherited.
Fix: In ui.sortable.js, the line
$(this.currentItem).css('visibility', 'visible');
should be
$(this.currentItem).css('visibility', '');
(The value 'inherit'
may be needed, but ''
worked in all browsers I've tried as inherit is the initial value)
Change History (3)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Milestone: | 1.2.3 |
---|
comment:3 Changed 14 years ago by
Milestone: | → 1.5 |
---|
Note: See
TracTickets for help on using
tickets.
Milestone 1.2.3 deleted