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
Basically, what I am attempting to setup is a React Aria Combobox and a virtualized body. It works absolutely fantastic when scrolling, but when I reach the end of the designated height (400px) with keyboard navigation, my virtualized list isn't fetching or re-virtualizing my items. It feels like my getVirtualItems never change when I am at the bottom of my list with keyboard navigation. I would like to somehow just tell it to recompute or even scroll so the observer fires giving me new virtual items with an onKeyDown event. Would this be possible or is it too late and I am slightly going crazy? I attached a very basic example below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Basically, what I am attempting to setup is a React Aria Combobox and a virtualized body. It works absolutely fantastic when scrolling, but when I reach the end of the designated height (400px) with keyboard navigation, my virtualized list isn't fetching or re-virtualizing my items. It feels like my getVirtualItems never change when I am at the bottom of my list with keyboard navigation. I would like to somehow just tell it to recompute or even scroll so the observer fires giving me new virtual items with an onKeyDown event. Would this be possible or is it too late and I am slightly going crazy? I attached a very basic example below:
` const rowVirtualizer = useVirtualizer({
count: filteredOptions.length,
getScrollElement: () => popoverRef.current ?? null,
estimateSize: () => 100,
})
Beta Was this translation helpful? Give feedback.
All reactions