Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Replace the deprecated scrollIntoViewIfNeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 5, 2021
1 parent cc81360 commit 231df2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select-list-view.ts
Expand Up @@ -508,7 +508,7 @@ class ListItemView {

scrollIntoViewIfNeeded () {
if (this.selected) {
this.element.scrollIntoViewIfNeeded(false)
this.element.scrollIntoView(false)
}
}
}

0 comments on commit 231df2c

Please sign in to comment.