Переглянути джерело

fix: #2149 try to fix ChatAction style on ios mobile

Yidadaa 1 рік тому
батько
коміт
d5c33a1183
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/components/chat.tsx

+ 1 - 1
app/components/chat.tsx

@@ -310,7 +310,7 @@ function ChatAction(props: {
   }
 
   useEffect(() => {
-    updateWidth();
+    setTimeout(updateWidth, 100);
   }, []);
 
   return (