Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Wrong input focus when angular DebugInfo is disabled #872

Closed
piebe opened this issue Apr 21, 2015 · 2 comments
Closed

Wrong input focus when angular DebugInfo is disabled #872

piebe opened this issue Apr 21, 2015 · 2 comments

Comments

@piebe
Copy link

piebe commented Apr 21, 2015

The plunker below contains the standard ui-select example, but with angular 1.3 and DebugInfo disabled, ie

$compileProvider.debugInfoEnabled(false);

Use the mouse to select the first selectbox, then select the second selectbox and start typing. The result will appear in the first select instead of the second.

http://plnkr.co/edit/aRORZjU8VKhKuJW1pTxx

Most likely cause line 149 in uiSelectDirective:
var targetScope = angular.element(e.target).scope(); //To check if target is other ui-select

.scope() is not available when DebugInfo is turned off...

@ckniffen
Copy link

ckniffen commented Jun 3, 2015

+1

1 similar comment
@awerlang
Copy link
Contributor

awerlang commented Aug 7, 2015

+1

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

No branches or pull requests

3 participants