-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$rootScope:inprog] $digest already in progress #40
Comments
Can you please share a plunker of jsfiddle? |
I'd like to help you and figure it out, but I need to see your example because I can't reproduce it on my side. thanks in advance |
Hi, Sorry for the late response. I've been trying to recreate the test case as a jsfiddle but all I've got so far just seems to crash jsfiddle, which isn't ideal: http://jsfiddle.net/bEG5L/9/ EDIT: Got it working as a plunkr, though this still isn't exhibiting the same problematic behaviour I'm seeing http://plnkr.co/edit/HPWVHy3VYFN5s7FARy14?p=preview Will update this issue thread if I find something.. |
Cool, I'll go over your plunker, hope to solve it ASAP. Thanks again |
Sorry for the late response, |
Hi,
I am aware that this is a duplicate of issue #18, but I have encountered the same issue.
I am 90% sure that the error I'm seeing is because of an unfortunate interaction between angular bootstraps 'typeahead' directive and this directive. I believe that the bootstrap directive registers a click listener on the document which then calls $digest. Please see this link: https://github.com/angular-ui/bootstrap/blob/master/src/typeahead/typeahead.js#L306
I'm somewhat of an angular novice, so I have no idea what the best resolution is for this issue.
If there's anything else I can provide please let me know.
Thanks.
The text was updated successfully, but these errors were encountered: