mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-19 01:15:04 -05:00
Fixed tree related issues.
This commit is contained in:
@@ -611,7 +611,9 @@ export class FileTreeX extends React.Component<IFileTreeXProps> {
|
||||
const scrollXPos = scrollX || 0;
|
||||
const scrollYPos = scrollY || this.props.model.state.scrollOffset;
|
||||
const div = this.wrapperRef.current.querySelector('div').querySelector('div') as HTMLDivElement;
|
||||
div.scroll(scrollXPos, scrollYPos);
|
||||
if (div) {
|
||||
div.scroll(scrollXPos, scrollYPos);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user