Skip to content

Commit

Permalink
Merge pull request #49477 from huult/48808-chat-scroll-bottom-on-refresh
Browse files Browse the repository at this point in the history
fix: chat scroll to bottom on refresh
  • Loading branch information
luacmartins authored Sep 23, 2024
2 parents 9160fa5 + 2cbfd5d commit 4058acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ function ReportActionsList({
}, [isLoadingNewerReportActions, canShowHeader, hasLoadingNewerReportActionsError, retryLoadNewerChatsError]);

const onStartReached = useCallback(() => {
loadNewerChats(false);
InteractionManager.runAfterInteractions(() => requestAnimationFrame(() => loadNewerChats(false)));
}, [loadNewerChats]);

const onEndReached = useCallback(() => {
Expand Down

0 comments on commit 4058acf

Please sign in to comment.