You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
It is a intermitten problem can't reporduce but It happend when I was switch state from dashbord to account
Expected / new behavior:
Minimal reproduction of the problem with instructions:
AngularJS version: 1.6.10
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Anything else:
TypeError: Cannot read property '$$phase' of null
at $$debounceViewValueCommit(../app/node_modules/angular/angular.min.js:301:520)
at $setViewValue(../app/node_modules/angular/angular.min.js:301:207)
at call(../app/node_modules/angular/angular.min.js:184:85)
at lg(../app/node_modules/angular/angular.min.js:40:48)
at apply(../app/node_modules/angular/angular.min.js:39:497)
at HTMLInputElement.d(../app/node_modules/raven-js/dist/raven.min.js:2:4706)
The text was updated successfully, but these errors were encountered:
AFAICT, for the error to appear, $setViewValue() has to be called asynchronously and scope be destroyed between scheduling $setViewValue() and actually invoking it.
This can (only?) happen if the input listener is called asynchronously, which happens on browsers that do not support the input event (i.e. IE).
It sounds reasonable to add a check for $$scope.$$destroyed in $setViewValue() or $$debounceViewValueCommit(). But without a way to reproduce the issue, we can't be sure if it is actually fixing anything 😁
@stripathix, if you feel like taking a stab at it, feel free to submit a pull request 😁 (Also feel free to ping me if you need any help/guidance/info.)
This could for example happen if updating the value is debounced (either
by asynchronously calling `$setViewValue()` or via `ngModelOptions`).
Fixesangular#16583
This could for example happen if updating the value is debounced (either
by asynchronously calling `$setViewValue()` or via `ngModelOptions`).
Fixes#16583Closes#16585
I'm submitting a ...
Current behavior:
It is a intermitten problem can't reporduce but It happend when I was switch state from dashbord to account
Expected / new behavior:
Minimal reproduction of the problem with instructions:
AngularJS version: 1.6.10
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Anything else:
TypeError: Cannot read property '$$phase' of null
at $$debounceViewValueCommit(../app/node_modules/angular/angular.min.js:301:520)
at $setViewValue(../app/node_modules/angular/angular.min.js:301:207)
at call(../app/node_modules/angular/angular.min.js:184:85)
at lg(../app/node_modules/angular/angular.min.js:40:48)
at apply(../app/node_modules/angular/angular.min.js:39:497)
at HTMLInputElement.d(../app/node_modules/raven-js/dist/raven.min.js:2:4706)
The text was updated successfully, but these errors were encountered: