Skip to content
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

Open
storkme opened this issue Jul 6, 2014 · 5 comments
Open

[$rootScope:inprog] $digest already in progress #40

storkme opened this issue Jul 6, 2014 · 5 comments

Comments

@storkme
Copy link

storkme commented Jul 6, 2014

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.

@asafdav
Copy link
Owner

asafdav commented Jul 13, 2014

Can you please share a plunker of jsfiddle?
I'll try to look into it

@asafdav
Copy link
Owner

asafdav commented Jul 17, 2014

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

@storkme
Copy link
Author

storkme commented Jul 26, 2014

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..

@asafdav
Copy link
Owner

asafdav commented Jul 27, 2014

Cool, I'll go over your plunker, hope to solve it ASAP.

Thanks again

@asafdav
Copy link
Owner

asafdav commented Aug 19, 2014

Sorry for the late response,
I noticed that your plunker uses an old version of ng-csv, have you tried using the latest version ?

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

No branches or pull requests

2 participants