IE8 & AngularJS select weirdness
In IE8, using the select directive with ng-options and ng-model can cause some odd behavior when hovering over the opened list of options. When hovering over the list, the selection will randomly switch back to the currently selected option.
The work-around is to add an empty hard-coded option inside of the select, and use CSS to hide the option.
Written by John Weaver
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#