-
Hello I am attempting to infinitely scroll the React Aria Combobox with my keyboard but am hitting some snags when I get to the bottom of the list. It feels as though the items don't get recomputed, e.g. can't get hovered on. It works great when I just normally scroll and select an option with my mouse though! Any help or suggestions on going a different route would be greatly appreciated :D ` const rowVirtualizer = useVirtualizer({
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Could you provide a sandbox or repro that I could look at? Potentially an issue with the items being cached in the collection or maybe just the hover state being stale but hard to say without digging myself. We haven't yet explored virtualization on our side with RAC but will be doing so in the near future |
Beta Was this translation helpful? Give feedback.
-
Thank you @LFDanLu for making me whip up a reproduction. I could not break it in codesandbox. Came to find out that it was headlessui |
Beta Was this translation helpful? Give feedback.
Thank you @LFDanLu for making me whip up a reproduction. I could not break it in codesandbox. Came to find out that it was headlessui
appending an overflow:hidden to the
<html>
tag. I spent all weekend trying to figure out this and now I am confident in my companies decision to officially get rid of headlessui. Partly because we want to move to react-aria-components, but if I am being honest it is because of the time I wasted on this. Thanks for the library and the help! :D