Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(dropdown): prevent premature scope removal #6238

Closed
wants to merge 1 commit into from
Closed

fix(dropdown): prevent premature scope removal #6238

wants to merge 1 commit into from

Conversation

nherzing
Copy link
Contributor

openScope.focusToggleElement() can trigger a digest cycle which can
trigger uibDropdownService.close to be called, nulling out the scope
prematurely.

Fixes #6225

I don't love this fix but I didn't see any other better options.

openScope.focusToggleElement() can trigger a digest cycle which can
trigger uibDropdownService.close to be called, nulling out the scope
prematurely.

Fixes #6225
@wesleycho wesleycho added this to the 2.1.4 milestone Sep 24, 2016
@wesleycho wesleycho closed this in 08ee30a Sep 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property '$apply' of null when dropdown is closed
2 participants