Browse Source

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

Yidadaa 1 year ago
parent
commit
d5c33a1183
1 changed files with 1 additions and 1 deletions
  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 (