react-data-grid
react-data-grid copied to clipboard
feat: scrolling uses smooth transition effects by default
Great open source project, I made some changes, want to make the scrolling default with transition animation, hope you can accept my PR, thanks in advance:
like: 7.0.0-beta.30 effect
https://github.com/adazzle/react-data-grid/assets/32004925/5e58c5b9-dd0d-4874-b056-cbd79ca2ecc6
Unfortunately this doesn't work well with, for example, holding down arrow keys
Unfortunately this doesn't work well with, for example, holding down arrow keys
I'm glad you replied, but can we consider passing the smooth transition as an option, for example, when scrollToCell is called via ref, for example
gridRef.current.scrollToCell({ idx: 123 }, { behavior: 'smooth' });
Sounds good to me
I've submitted some changes, I need your help CR.
Please check https://github.com/adazzle/react-data-grid/issues/3308#issuecomment-2832287242