Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/tabs): ink bar not shown in some cases (#25218)
In #24000 the ink bar was switched from `requestAnimationFrame` to `NgZone.onStable` in order to avoids timeouts when the browser is in the background. The problem is that if the zone is already stable, it may take some user interaction before it becomes unstable again and emits to `onStable`. These changes wrap the call in `NgZone.run` to guarantee that it'll be unstable. Fixes #25117. (cherry picked from commit 9d92fbc)
- Loading branch information