fix: 🐛 preventScroll when focus graph (#1116)
This commit is contained in:
@ -73,7 +73,9 @@ export class Keyboard extends Disposable implements IDisablable {
|
||||
|
||||
private focus() {
|
||||
const target = this.target as HTMLElement
|
||||
target.focus()
|
||||
target.focus({
|
||||
preventScroll: true,
|
||||
})
|
||||
}
|
||||
|
||||
private getKeys(keys: string | string[]) {
|
||||
|
Reference in New Issue
Block a user