diff --git a/src/ProChat/container/App.tsx b/src/ProChat/container/App.tsx index 332018d..48c651d 100644 --- a/src/ProChat/container/App.tsx +++ b/src/ProChat/container/App.tsx @@ -133,8 +133,7 @@ const App = memo( onResize={(e) => { if ( typeof height !== typeof e.height || - (typeof height === 'string' && typeof e.height === 'string' && e.height !== height) || - (typeof height === 'number' && Math.abs(e.height - height) > 1) + (typeof height === 'string' && typeof e.height === 'string' && e.height !== height) ) { // stop shaking setHeight(e.height);