-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Provide a general summary of the issue here
When testing GridList with virtualization library like @tanstack/react-virtual
kinda looks like it works 🎉
One issue noticed, when using selectionBehavior replace
and selecting multi rows with Shift. If we select item from current render items then it works, issue is when selecting one and scroll down a bit to new rendered items, then it breaks, item is focused but no selection.
Nagranie.z.ekranu.2023-09-13.o.08.10.57.mov
Also when scrolling focus is changing, is there some autofocus enabled?
🤔 Expected Behavior?
Items should be selected.
😯 Current Behavior
Items are not selected and row is focused.
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://codesandbox.io/s/friendly-tamas-3zpl6q?file=/src/App.js
Version
1.0.0-beta.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response