Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA, EE-3.3.0.GA_P02
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:Tomcat 7, Icefaces 4 trunk, Icefaces ee-3.3.0 maintenance branch r 41200. ACE components and Showcase, IE 11 only.
-
Assignee Priority:P2
Description
IE 11 does not allow keyboard up/down arrow navigation in autoCompleteEntry demos. Functions properly otherwise. No errors occur. Not an issue in any other browsers.
To reproduce:
Build/Deploy showcase
Navigate to ace:autoCompleteEntry > Overview.
Type a letter into the input field.
Attempt to use up or down keyboard arrows to navigate through the list.
To reproduce:
Build/Deploy showcase
Navigate to ace:autoCompleteEntry > Overview.
Type a letter into the input field.
Attempt to use up or down keyboard arrows to navigate through the list.
Committed fix to 4.0 trunk at revision 41209 and to 3.3 EE maintenance branch at revision 41208. The problem was that IE11 wasn't being detected correctly, and the main event handler was being registered on the keyrpess event, while it should have been the keydown event, as with the other IE browsers. This was necessary so that special keys, such as the arrow keys, could be registered by the browser and fire the event handler. This change also fixes the original issue in ICE-10032, where the key codes in the event object were different. It seems that in IE and Webkit browsers the key codes are slightly different between the keydown and keypress events. So, the fix committed for ICE-10032 was reverted, since it's no longer necessary.