mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the tree is not scrolling to the object selected from the search result. Fixes #6828
This commit is contained in:
committed by
Akshay Joshi
parent
d65930a8a6
commit
9796f50362
@@ -288,7 +288,9 @@ export default class SearchObjectsDialogWrapper extends DialogWrapper {
|
||||
this.showMessage(gettext('Locating...'));
|
||||
tree.findNodeWithToggle(rowData.id_path)
|
||||
.then((treeItem)=>{
|
||||
tree.select(treeItem, true);
|
||||
setTimeout(() => {
|
||||
tree.select(treeItem, true);
|
||||
}, 100);
|
||||
this.showMessage(null);
|
||||
})
|
||||
.catch((error)=>{
|
||||
|
||||
Reference in New Issue
Block a user