This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$timeout resets selected option #6424
Closed
Description
I am facing a problem where I have a $timeout operation running every second.
The problem is that when I'm just hovering with the mouse in an option or trying to select it with the keyboard the selected option keeps bumping me back to the previously selected option.
This problem was documented here:
https://groups.google.com/forum/#!topic/angular/Ry6_b6XaobA
There is a fix/workaround that works but I'm not sure of the impact it has on normal operation:
https://groups.google.com/d/msg/angular/Ry6_b6XaobA/gHj7Wmb7_8cJ
Plunkr/Fiddle:
http://jsfiddle.net/Xn7PA/13/
http://plnkr.co/edit/ZLs9w3wghZd9oKzU22ks?p=preview
Edit: Forgot to specify that this happens in Firefox 27.0.1 but not in Chrome 32