So I have created a basic ListBox using react-window and everything is rendering great!
One problem I have however is that if I scroll the list and right after scrolling click on an item it's click handler (a div in this case) is not always invoked.
My guess is that I click before the item has been properly rendered and placed on the screen. Does this sound plausible?
Maybe if the FixedSizeList could have it's own click handler that could calculate which items should have been clicked in case it has not been rendered fully yet?
Is there any strategy or workaround for these kinds of problems? Is it a known issue?
Thanks for a great library!
So I have created a basic ListBox using
react-windowand everything is rendering great!One problem I have however is that if I scroll the list and right after scrolling click on an item it's click handler (a
divin this case) is not always invoked.My guess is that I click before the item has been properly rendered and placed on the screen. Does this sound plausible?
Maybe if the
FixedSizeListcould have it's own click handler that could calculate which items should have been clicked in case it has not been rendered fully yet?Is there any strategy or workaround for these kinds of problems? Is it a known issue?
Thanks for a great library!