angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

select + ng-options + $timeout bug on iOS

Open vojtajina opened this issue 14 years ago • 8 comments

http://jsfiddle.net/ZDaBQ/3/

If user selects value, but does not confirm (leave the spinner) before the timeout fires, the value is removed

vojtajina avatar Jun 23 '12 07:06 vojtajina

Has anyone looked at this? I've come across the same situation with Firefox and IE9. To clarify what happens: when you select a value, say "a", and then mouse over another option (but not select it), then, when the timeout occurs, the selected value becomes highlighted, and not the one that the mouse is actually hovering over.

I even get into situations with the fiddle above, where I select the value "c" and the browser shows "a" as the selected value in the box itself. This is going to be a showstopper for me.

This behavior does not occur on Chrome.

spamdaemon avatar Feb 07 '13 14:02 spamdaemon

I'm seeing this issue in Firefox and IE9 currently as well.

jncraton avatar Mar 08 '13 13:03 jncraton

@spamdaemon : how did you fix this showstopper?

create-marcel avatar Apr 03 '13 08:04 create-marcel

I'm ignoring it for now - hoping it will get fixed. But down the road, this is really going to be a problem, because the type of systems for which I intend to use angular will make use of fairly frequent/subsecond timeouts.

spamdaemon avatar Apr 03 '13 16:04 spamdaemon

+1 For fixing this. I was just about to submit it due to big problems in IE9 and Firefox with this. We have frequent timouts in our system, which makes it just about impossible to select anything in a