Bug Tracker

Modify

Ticket #3836 (closed enhancement: invalid)

Opened 4 years ago

Last modified 15 months ago

ui.draggable('disable') ... Remove "stack" z-index ?

Reported by: trave Owned by:
Priority: trivial Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: draggable disable stack z-index Cc: trave801@…
Blocking: Blocked by:

Description

EXAMPLE URL:

 http://trave.onai.net/systems/trave/solitaire.html (.html file attached)

Each card is assigned:

.draggable({stack:{group:'#pnlSolitaire B I', min:1}})

All cards are then:

.draggable('disable');

Certain cards are later allowed by:

.draggable('enable');

PROBLEM:

Once a card has been dragged, its Z-Index is in higher order than the rest of the pile it was part of.

ENHANCEMENT:

Would it be possible that the original Z-Index of the element be returned to its native state upon "return:true", and/or .draggable('disable'); ?

Attachments

solitaire.html Download (7.9 KB) - added by trave 4 years ago.
HTML CSS and JS for the beginnings of a Solitaire game

Change History

Changed 4 years ago by trave

HTML CSS and JS for the beginnings of a Solitaire game

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

This should be filed in the jQuery UI bug tracker:  http://ui.jquery.com/bugs

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.