We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b697533 commit 25753eaCopy full SHA for 25753ea
1 file changed
src/pages/home/report/ReportActionsList.tsx
@@ -429,13 +429,15 @@ function ReportActionsList({
429
}
430
const index = sortedVisibleReportActions.findIndex((item) => keyExtractor(item) === action?.reportActionID);
431
if (action?.actionName === CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW) {
432
- if (action?.reportActionID) {
433
- setActionIdHighlightedTemporary(action?.reportActionID);
434
- }
435
if (index > 0) {
436
setTimeout(() => {
437
reportScrollManager.scrollToIndex(index);
438
}, 100);
+ } else {
+ reportScrollManager.scrollToBottom();
+ }
439
+ if (action?.reportActionID) {
440
+ setActionIdHighlightedTemporary(action.reportActionID);
441
442
} else {
443
reportScrollManager.scrollToBottom();
0 commit comments