shouldUseVirtualFocus missing in AriaListBoxOptions? #1624
Answered
by
LFDanLu
stefanprobst
asked this question in
Q&A
-
The useListBox({ shouldUseVirtualFocus: true }, state, ref)
// Object literal may only specify known properties, and 'shouldUseVirtualFocus' does not exist in type 'AriaListBoxOptions<T>' |
Beta Was this translation helpful? Give feedback.
Answered by
LFDanLu
Feb 23, 2021
Replies: 1 comment
-
@stefanprobst Looks like this is a mistake in the type, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stefanprobst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@stefanprobst Looks like this is a mistake in the type,
useListBox
needsshouldVirtualFocus
passed to it so that the ListBox itself doesn't become tabbable.