fix(animations): microtasks should not be timeouts (#14687)
This commit is contained in:
committed by
Igor Minar
parent
01907bafb0
commit
be8510356a
@@ -6,6 +6,5 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
export function scheduleMicroTask(cb: () => any) {
|
||||
// FIXME
|
||||
setTimeout(cb, 0);
|
||||
Promise.resolve(null).then(cb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user