๐[BUG] Virtualized List, Some items not selected
Closed this issue ยท 7 comments
๐ Description
When selecting in a virtualized list, selecting items (not all) can cause some elements to be not selected
๐ป Reproduction link
https://linxianxi.github.io/react-selectable-box/guides/virtual-list
๐ท Steps to reproduce
- Select up to 1000 elements
- Scroll all the way up, notice first 2 rows are unselected
๐ What is expected?
All 1000 elements to be selected
What is actually happening?
First 2 rows are unselected
ยฉ Version information
- browser - Chrome 128.0.6613.138
- system - MacOS Sequoia 15.0
Can you record a video?
The virtual scrolling is too fast, causing no mount to be skipped for rendering, and it is impossible to determine the specific location. Currently, only elements that have been mounted will be selected.
The virtual scrolling is too fast, causing no mount to be skipped for rendering, and it is impossible to determine the specific location. Currently, only elements that have been mounted will be selected.
@linxianxi is this expected? scrolling at this speed to the bottom also causes only the top few rows to be not selected ๐ข
Screen.Recording.2024-10-02.at.5.20.49.PM.mov
It seems to be a bug, because I usually use a trackpad and do not encounter this problem, I will check this bug
It seems to be a bug, because I usually use a trackpad and do not encounter this problem, I will check this bug
@linxianxi interesting bug ๐ค i tried trackpad and it is fine too
i'm using a Logitech Master MX3 mouse, not sure if it helps~
Fixed in 1.9.5, you can try again