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
I use the onFinish output prop of the audio-track element to update my view. But I get the ExpressionChangedAfterItHasBeenCheckedError error.
I have tried two solutions to the problem: ChangeDetectorRef and setTimeout.
I cannot solve the error by using a ChangeDetectorRef in my component since I would like to use the progress bar, and the progress bar does not have a onProgress output (is should call the ChangeDetectorRef.markForChange in it).
If I wrap the view update in a setTimeout call, this other problem happens .
How could I solve?
The text was updated successfully, but these errors were encountered:
I use the onFinish output prop of the audio-track element to update my view. But I get the
ExpressionChangedAfterItHasBeenCheckedError
error.I have tried two solutions to the problem:
ChangeDetectorRef
andsetTimeout
.I cannot solve the error by using a
ChangeDetectorRef
in my component since I would like to use the progress bar, and the progress bar does not have a onProgress output (is should call the ChangeDetectorRef.markForChange in it).If I wrap the view update in a
setTimeout
call, this other problem happens .How could I solve?
The text was updated successfully, but these errors were encountered: