#5505 closed feature (wontfix)
Please, give us possibility not to use z-index for datepicker
Reported by: | zyura | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.datepicker | Version: | 1.8 |
Keywords: | z-index, zIndex | Cc: | |
Blocked by: | Blocking: |
Description
In some cases it is much better to use CSS to set datepicker's z-index than calculate it basing on input's parents z-index.
For example, one page has a header with date inputs (with no z-index and no need to set position style) and other controls located below which have z-index set. For previous versions of the control it was easy to handle this issue just by writing one line in CSS file:
.ui-datepicker { z-index:1000; }
Proposed solution is to add two lines to the source code:
var ignoreZIndex = $.datepicker._get(inst, 'ignoreZIndex'); if (ignoreZIndex) inst.dpDiv.zIndex($(input).zIndex()+1);
This will improve datepicker's flexibility.
Change History (3)
comment:1 Changed 11 years ago by
Type: | enhancement → feature |
---|
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
We're not going to support multiple ways to set the z-index.