mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-09 12:38:35 -05:00
Fixed scroll issue in the browser tree when navigating using the keyboard.
This commit is contained in:
committed by
Akshay Joshi
parent
053519aef6
commit
cc38bc132e
@@ -140,12 +140,12 @@ export class Tree {
|
||||
await this.tree.toggleDirectory(item);
|
||||
}
|
||||
|
||||
async select(item, ensureVisible=false) {
|
||||
await this.tree.setActiveFile(item, ensureVisible);
|
||||
async select(item, ensureVisible=false, align='auto') {
|
||||
await this.tree.setActiveFile(item, ensureVisible, align);
|
||||
}
|
||||
|
||||
async selectNode(item, ensureVisible=false) {
|
||||
this.tree.setActiveFile(item, ensureVisible);
|
||||
async selectNode(item, ensureVisible=false, align='auto') {
|
||||
this.tree.setActiveFile(item, ensureVisible, align);
|
||||
}
|
||||
|
||||
async unload(item) {
|
||||
|
||||
Reference in New Issue
Block a user