Skip to content
Merged
4 changes: 4 additions & 0 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,10 @@ function leaveRoom(reportID) {
if (Navigation.getTopmostReportId() === reportID) {
Navigation.goBack();
}
if (report.parentReportID) {
Navigation.navigate(ROUTES.getReportRoute(report.parentReportID), CONST.NAVIGATION.TYPE.FORCED_UP);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coming from #28087
CONST.NAVIGATION.TYPE.FORCED_UP has caused an edge case on web, where if you reply in a thread, refresh the page and select 'Leave the thread', LHN disappears from the screen

return;
}
navigateToConciergeChat();
}

Expand Down