Skip to main content

Search and Top Navigation

#5658 closed bug (duplicate)

Opened May 25, 2010 10:36PM UTC

Closed October 17, 2012 05:11AM UTC

Datepicker not positioned for only-child hidden inputs

Reported by: andyfowler Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.datepicker Version: 1.8.1
Keywords: hidden Cc:
Blocked by: Blocking:

When a datepicker is applied to a hidden input, datepicker._findPos() tries to seek for the next visible sibling. If there are no siblings, it fails.

Pseudocode example:

<div><input id="date-me" type="hidden datepicker">Asdf</div>

Yields a non-positioned datepicker. I've patched this on my Github fork. As soon as I get a ticket ID here, I'll post a link.

Attachments (1)
Change History (5)

Changed May 25, 2010 10:42PM UTC by andyfowler comment:1

Changed May 25, 2010 10:51PM UTC by andyfowler comment:2

Changed August 01, 2011 05:58PM UTC by brazir comment:3

wish i saw this sooner. is this patch supposed to be in place as I still see the problem as of 1.8.14

Changed October 11, 2012 09:04PM UTC by scottgonzalez comment:4

milestone: TBD1.11.0

Changed October 17, 2012 05:11AM UTC by mikesherov comment:5

resolution: → duplicate
status: newclosed

Duplicate of #6988.