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

Commit

Permalink
Add ts-ignore for scrollIntoViewIfNeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 6, 2021
1 parent 0e9dc1f commit 80c3e14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/select-list-view.ts
Expand Up @@ -507,6 +507,7 @@ class ListItemView {

scrollIntoViewIfNeeded () {
if (this.selected) {
// @ts-ignore: this function is a non-standard API.
this.element.scrollIntoViewIfNeeded(false)
}
}
Expand Down

0 comments on commit 80c3e14

Please sign in to comment.