We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f17b1e commit 702bd7aCopy full SHA for 702bd7a
src/index.ts
@@ -25,7 +25,7 @@ export default class Combobox {
25
this.list = list
26
this.tabInsertsSuggestions = tabInsertsSuggestions ?? true
27
this.defaultFirstOption = defaultFirstOption ?? false
28
- this.scrollIntoViewOptions = scrollIntoViewOptions
+ this.scrollIntoViewOptions = scrollIntoViewOptions ?? {block: 'nearest', inline: 'nearest'}
29
30
this.isComposing = false
31
0 commit comments