Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9593 closed bug (notabug)

Datepicker: Using month/year drop downs causes IE11 to crash

Reported by: matthewbate Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

I discovered this bug running jQuery UI 1.8.23 but have managed to reproduce it using the demo page on the jQuery UI website.

I'm running Windows 8.1 Pro Preview Build 9431 with IE11.

When in the following page

http://jqueryui.com/datepicker/#dropdown-month-year

*Click on the text box to cause the datepicker to appear *use either the year or month drop downs to select a new date *On clicking of the year/month an alert will appear saying "Internet explorer has stopped working", IE will then close.

Having stepped through the debugger it seems that when the _updateDatepicker method makes a call to empty on its third line, the removeChild call in there causes the crash.

Change History (4)

comment:1 Changed 6 years ago by tj.vantoll

Status: newopen
Summary: Using month/year drop downs causes IE11 to crashDatepicker: Using month/year drop downs causes IE11 to crash

Confirmed on http://jqueryui.com//resources/demos/datepicker/dropdown-month-year.html.

elem.removeChild( elem.firstChild ) in core causes the crash where elem is the ui-datepicker and elem.firstChild is the ui-datepicker-header.

comment:2 Changed 6 years ago by matthewbate

It seems that having in stalled the final release version of IE11 on Windows 8.1 this bug no longer occurs.

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

Resolution: notabug
Status: openclosed

comment:4 Changed 6 years ago by tj.vantoll

#10096 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.