Bug Tracker

Modify

Ticket #5094 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

DatePicker z-index

Reported by: harveymushman Owned by:
Priority: major Milestone: 1.4
Component: misc Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

When the date picker is added to a modal dialog (a div tag with a higher value z-index than the parent page), the date picker does not adapt the z-index of the modal dialog as a starting point. Rather it uses the parent page which causes the date picker to render under the modal dialog.

Seems to me the "auto" z-index needs to take into account the nesting on the page before it renders into the wrong location.

The work-a-round is to manually set the z-index in the ui.datepicker-div CSS file to a value greater than the maximum nesting value.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from unfiled to misc

Not a jQuery core bug. If this is the jQuery UI date picker, file a bug there. They will want a test case.

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.