Opened 12 years ago

Closed 12 years ago

#7578 closed bug (notabug)

jQuery Datepicker intermittently does not display in Safari

Reported by: Martin Wendt Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.14
Keywords: Cc:
Blocked by: Blocking:


jQuery 1.6.2 and UI 1.8.14 from Google ajax CDN. Safari 5.0.5 (Windows7) and iPad2.

I've spent the whole day trying to pin down this issue and for the most part I thought it was my code but it seems to be a bug with jQuery UI. I'm loading the the datepicker inline in Safari (Windows7) and intermittently the datepicker does not show. I used the Safari web inspector to see that the div has a height of 0px and I can see the elements as they should be within the containing div - changing the div height does not make a difference, nothing is shown. This happens only in Safari all other browsers are fine. I can also see the same issue on my iPad2, so it's not machine specific.

I've tried this using a combination of:

  • jQuery 1.5.2
  • jQuery 1.6.2
  • UI 1.8.4
  • UI 1.8.14

I get the same issue for all.


Steps to repoduce:

  • use Safari browser and open the url location above
  • refresh the page a number of times until the calendar does not appear.

Change History (3)

comment:1 Changed 12 years ago by rdworth

Try putting the css (link tag) before the script tags.

comment:2 Changed 12 years ago by Martin Wendt

That solves the problem .. ahhh the time wasted on that :)

Thanks for the tip

comment:3 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.