Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

md-chips md-autocomplete error #2458

Closed
j-martinez-dev opened this issue Apr 21, 2015 · 7 comments
Closed

md-chips md-autocomplete error #2458

j-martinez-dev opened this issue Apr 21, 2015 · 7 comments
Assignees
Milestone

Comments

@j-martinez-dev
Copy link

In the demo page, every time that you make a change in the md-autocomplete example in the md-chips section, you get this error:

Error: [$rootScope:inprog] $apply already in progress
http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24apply
at angular.js:63
at beginPhase (angular.js:14820)
at Scope.$apply (angular.js:14564)
at e. (docs.js:4)
at HTMLInputElement.eventHandler (angular.js:3032)
at e.R.mouseUp (docs.js:4)
at $parseFunctionCall (angular.js:12404)
at callback (angular.js:21566)
at Scope.$eval (angular.js:14466)
at Scope.$apply (angular.js:14565)

Tested with Chrome

@karin-n
Copy link

karin-n commented Apr 22, 2015

This happens in Firefox as well - here is the actual cause in case it helps: MdAutocompleteCtrl/self.mouseUp@http://localhost:3000/jspm_packages/github/angular/bower-material@0.9.0-rc2/angular-material.js:11153:36

@Alexandre-io
Copy link

Same issue with the Contact Chips demo:

https://material.angularjs.org/#/demo/material.components.chips

Error: [$rootScope:inprog] $apply already in progress
http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24apply
minErr/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:63:12
beginPhase@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:14820:1
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:14564:11
ngEventHandler/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:21571:17
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:3032:9
jqLiteOn/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:3088:15
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:3032:9
@debugger eval code:1:1
consoleLog/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:11655:18
$ExceptionHandlerProvider/this.$get</<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:8596:7
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:14567:11
MdChipsCtrl.prototype.configureAutocomplete/<@https://material.angularjs.org/docs.js:5:12211
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:3032:9
MdAutocompleteCtrl/B.mouseUp@https://material.angularjs.org/docs.js:2:27295
$parseFunctionCall@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:12404:15
ngEventHandler/</callback@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:21566:17
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:14466:16
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:14565:18
ngEventHandler/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:21571:17
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js:3032:9

@stewones
Copy link

material bug chips

@tmack8001
Copy link

I'm seeing the same $apply already in progress error

[UPDATED 4/27 10:13AM PT] The model is being saved correctly just that when selecting chips the console gets this error about $apply already in progress.

@scarletsky
Copy link
Contributor

+1
In my case, it happens when you click on the suggestion list item with mouse, not keyboard.

@chrisguerrero
Copy link
Contributor

+1

I'm seeing the Error: [$rootScope:inprog] $apply already in progress as well. Seems to be happening when navigating with the arrow/backspace keys

ThomasBurleson added a commit that referenced this issue Apr 28, 2015
@ThomasBurleson
Copy link
Contributor

To be fixed with Pull Request #2591

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

9 participants