UNPKG

react-virtualized-sticky-tree

Version:

A React component for efficiently rendering tree like structures with support for position: sticky

10 lines (9 loc) 325 B
describe('Sticky Tree Scrolling', () => { beforeEach(() => { cy.visit('/?render=countries'); }); it('can scroll to the bottom and see the last node', () => { cy.get('.rv-sticky-tree').scrollTo(0, 10000000); cy.contains('Territorio Federal Delta Amacuro').should('be.visible'); }); });