You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my setup with useCombobox hook, I get the option attributes via getItemProps() function. It returns 'aria-disabled' as a boolean, but 'aria-selected' is returned as string.
As a workaround currently i need to cast it back and forth, which is inconvenient:
I assume it origins from here, where it could simply be changed to 'aria-selected': index === latestState.highlightedIndex, instead of the template string.
In my setup with useCombobox hook, I get the option attributes via getItemProps() function. It returns 'aria-disabled' as a boolean, but 'aria-selected' is returned as string.
As a workaround currently i need to cast it back and forth, which is inconvenient:
I assume it origins from here, where it could simply be changed to
'aria-selected': index === latestState.highlightedIndex,
instead of the template string.downshift/src/hooks/useCombobox/index.js
Line 324 in 74ce0f5
The text was updated successfully, but these errors were encountered: