Skip to content

Commit

Permalink
fix: added nowGenerating dependency to last message resizer to fix el…
Browse files Browse the repository at this point in the history
…lipses being cut off
  • Loading branch information
Vali-98 committed Nov 22, 2024
1 parent 8dc6d00 commit 6159e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ChatMenu/ChatWindow/ChatTextLast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ChatTextLast: React.FC<ChatTextProps> = ({ nowGenerating, id }) => {

useEffect(() => {
requestAnimationFrame(() => updateHeight())
}, [buffer, mes])
}, [buffer, mes, nowGenerating])

// TODO: Remove once this is fixed:
// https://github.com/software-mansion/react-native-reanimated/issues/6659
Expand Down

0 comments on commit 6159e51

Please sign in to comment.