Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuke the Viewport component, FCize Canvas (#1767)
* Replace Canvas placeholders with top/bottom padding * Move Viewport scroll state and logic into Canvas * Nuke Viewport component * Nuke Viewport file * FCize Canvas * completely unwrap the props object * Clean up a few props, fix tests * Cleanup Canvas getRows * fix new scrollLeft/Top usage in handleScroll * Fix rowVisible{Start,End}Idx, improve top/bottom navigation accuracy * Don't use useMemo to get the clientHeight * Fix rowOverscanEndIdx usage * Fix the tests * Move handleRowSelectionChange back in the root component to prevent some row/cell re-renders * improve isScrolling example * Remove viewportWidth props * Remove scrollToRow, simplify/fix scrollToRowIndex usage * Add a comment * Don't disable the eslint rule
- Loading branch information