Skip to content

Commit

Permalink
fix scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
perunt committed Jun 21, 2024
1 parent 3734b75 commit 8e0d5af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ function ComposerWithSuggestions(
);

const onClear = useCallback(() => {
mobileInputScrollPosition.current = 0;
setTextInputShouldClear(false);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
Expand Down

0 comments on commit 8e0d5af

Please sign in to comment.