diff options
| author | Jeff Balboni | 2014-01-26 16:17:36 -0500 | 
|---|---|---|
| committer | Caitlin Potter | 2014-03-18 23:18:42 -0400 | 
| commit | f40f54c6da4a5399fe18a89d068634bb491e9f1a (patch) | |
| tree | 6681e53e65a05d54c53dd1214d549785afa1a63b /test/e2e | |
| parent | 37bc5ef4d87f19da47d3ab454c43d1e532c4f924 (diff) | |
| download | angular.js-f40f54c6da4a5399fe18a89d068634bb491e9f1a.tar.bz2 | |
fix(select): avoid checking option element selected properties in render
In Firefox, hovering over an option in an open select menu updates the selected property of option
elements. This means that when a render is triggered by the digest cycle, and the list of options
is being rendered, the selected properties are reset to the values from the model and the option
hovered over changes. This fix changes the code to only use DOM elements' selected properties in a
comparison when a change event has been fired. Otherwise, the internal new and existing option
arrays are used.
Closes #2448
Closes #5994
Diffstat (limited to 'test/e2e')
0 files changed, 0 insertions, 0 deletions
