exit updateDOMRect if width or height is zero

This commit is contained in:
zsviczian
2022-08-27 15:54:39 +02:00
committed by GitHub
parent 2b4462c941
commit 4426275184

View File

@@ -6166,6 +6166,10 @@ class App extends React.Component<AppProps, AppState> {
return;
}
if (width === 0 || height === 0) {
return;
}
this.setState(
{
width,