Skip to content

Commit 702bd7a

Browse files
authored
Update index.ts
1 parent 8f17b1e commit 702bd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default class Combobox {
2525
this.list = list
2626
this.tabInsertsSuggestions = tabInsertsSuggestions ?? true
2727
this.defaultFirstOption = defaultFirstOption ?? false
28-
this.scrollIntoViewOptions = scrollIntoViewOptions
28+
this.scrollIntoViewOptions = scrollIntoViewOptions ?? {block: 'nearest', inline: 'nearest'}
2929

3030
this.isComposing = false
3131

0 commit comments

Comments
 (0)