Skip to main content

Search and Top Navigation

#9237 closed bug (invalid)

Opened April 20, 2013 07:23PM UTC

Closed May 05, 2013 08:38AM UTC

Datepicker not closing when in iFrame, using Firefox browser

Reported by: bongobongo Owned by: bongobongo
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

I'm using the Datepicker in an iFrame.

NOTE: The page in the iFrame is from another domain, than parent page.

It will not close when date is clicked, or when clicked outside the datepicker.

Issue in Firefox, not in Chrome.

Currently I made a workaround when the date is clicked like this:

onSelect: function(selectedDate) {
   $('#ui-datepicker-div').hide();
}

Obviously this does not fix issue when user click outside the Datepicker.

Using:

jquery-1.9.1.min.js

jquery-ui-1.10.1.custom.min.js

Attachments (0)
Change History (4)

Changed April 20, 2013 09:35PM UTC by tj.vantoll comment:1

owner: → bongobongo
status: newpending

Hi bongobongo,

Thanks for taking the time to contribute to the jQuery UI project. In order to assess this ticket we're going to need a reduced test case that shows this problem. You can use this as a starting point: http://jsfiddle.net/tj_vantoll/tRdpr/.

To test iframes you can point one jsFiddle at another's results, see http://jsfiddle.net/tj_vantoll/s5g2u/. The same trick can be done with JS Bin if you prefer it.

Thanks.

Changed April 20, 2013 09:56PM UTC by bongobongo comment:2

status: pendingnew

Thanks for those links!

Did the test using: jsfiddle and JS Bin.

Unable to reproduce problems there.

Will do some more tests on monday on my script...

Changed April 20, 2013 10:45PM UTC by tj.vantoll comment:3

status: newpending

Changed May 05, 2013 08:38AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!