-
-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
tableVirtuosoRef.current?.scrollIntoView({
index: nextIndex,
behavior: 'auto',
done: () => {
setCurrentItemIndex(nextIndex);
},
});
done: () => { setCurrent...} is not working when table is just focused, first row is selected , but no scroll was actually needed.
Expected behavior
/**
* Will be called when the scroll is done, or immediately if no scroll is needed.
*/
done?: () => void;
Desktop (please complete the following information):
- OS: iOs
- Browser Chrome
- React 18
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working