We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f17b1e + 702bd7a commit ea5e8d6Copy full SHA for ea5e8d6
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