Skip to main content

Search and Top Navigation

#7873 closed bug (cantfix)

Opened November 13, 2011 09:47AM UTC

Closed February 11, 2012 03:29PM UTC

Autocomplete: Autocomplete kills undo (ctrl+z) in IE 8

Reported by: sajad.mirzaei Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Ctrl+z does not work in fields which have autocomplete in IE 8.

This issue has been tested on the autocomplete demo provided on the, too.

Attachments (0)
Change History (4)

Changed November 14, 2011 03:36PM UTC by scottgonzalez comment:1

status: newopen
summary: bug : Autocomplete : problem in IE 8 with undo (ctrl+z)Autocomplete: Autocomplete kills undo (ctrl+z) in IE 8

Changed January 01, 2012 03:25PM UTC by tj.vantoll comment:2

This appears to be a bigger issue than IE8. See On my Windows Vista box, undo stops working as soon as you type something that causes the autocomplete options to display. This happens in IE9 as well as IE9 simulating IE8 and IE7.

While not quite the same, undo also doesn't work in Safari 5.1.2 after selecting an option from the autocomplete menu. I confirmed this on both Windows Vista as well as Mac OS X 10.7.2.

This does not appear to be an issue in Chrome 16, Firefox 9, and Opera 11.60.

Changed January 17, 2012 12:27PM UTC by charansunkara comment:3

IE won't allow to perform ctrl+z(Undo) immediately after a DOM append or InnerHTML operation.

I guess this is the reason.

For example simply type any text that is not related to any items in the menu,Now do any operations like deleting the text using delete or back space key. CTRL+Z will work. But If you type any text that will show the menu, Now try deleting the text using delete or backspace key , Now try ctrl+z it will not work.

It's because when the text in the textarea or input matches with the list, We are appending the matched items to the menu and finally to the DOM . In this case IE breaks the CTRL+Z ie. undo

Changed February 11, 2012 03:29PM UTC by scottgonzalez comment:4

resolution: → cantfix
status: openclosed

Confirmed that IE is killing undo after any DOM mutation. There's nothing we can do about this.