Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$timeout resets selected option #6424

Closed
rvelhote-jump opened this issue Feb 24, 2014 · 3 comments
Closed

$timeout resets selected option #6424

rvelhote-jump opened this issue Feb 24, 2014 · 3 comments

Comments

@rvelhote-jump
Copy link

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

@Narretz
Copy link
Contributor

Narretz commented Feb 24, 2014

Is this the same bug as described here? #5994 There's a bugfix almost ready, but it's unmerged.

@rvelhote-jump
Copy link
Author

Yes, it's that one. I don't use Github so I couldn't figure out how to search :)

It also links to #2448 which contains the fix mentioned in my initial message.

Hope to see it in a next release. I will apply the patch for now.

@btford
Copy link
Contributor

btford commented Feb 27, 2014

Closing this as a duplicate; thanks though @rvelhote-jump!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants