mirror of
https://github.com/material-components/material-web.git
synced 2024-10-27 14:07:17 +03:00
fix non-lit benchmarking
This commit is contained in:
parent
7749f35b3a
commit
af615d15ac
@ -136,6 +136,7 @@ export const measureFixtureCreation = async (
|
||||
document.body.offsetWidth;
|
||||
} else {
|
||||
await new Promise(res => requestAnimationFrame(res));
|
||||
document.body.offsetWidth;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user