mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the scroll position should be preserved for the result set in the query tool on tab change. #5296
This commit is contained in:
@@ -333,6 +333,8 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
|
||||
} else if(LayoutHelper.isTabVisible(docker.current, PANELS.HISTORY)) {
|
||||
LayoutHelper.focus(docker.current, PANELS.HISTORY);
|
||||
}
|
||||
|
||||
eventBus.current.fireEvent(QUERY_TOOL_EVENTS.GOTO_LAST_SCROLL);
|
||||
}
|
||||
});
|
||||
window.addEventListener('beforeunload', onBeforeUnload);
|
||||
|
||||
Reference in New Issue
Block a user