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?
AngularJS pages are long-lived browser apps with the same script risk as a newer single-page app. Third-party code in the template can read forms and values rendered on the page.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#