Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use window as container instead of element #25

Open
alexbrazier opened this issue Oct 12, 2017 · 1 comment
Open

Use window as container instead of element #25

alexbrazier opened this issue Oct 12, 2017 · 1 comment

Comments

@alexbrazier
Copy link

Is it possible to use the window as the container element, so it increases the height of the main scrollbar, rather than having the table in a container with its own scrollbar?

It appears react-virtual-list does this, but it requires fixed height elements.

@cheton
Copy link

cheton commented Jan 20, 2018

When the scroll direction is vertical and use "100%" as the height, it will pass "100%" as the containerSize to the getVisibleRange function, so the maxOffset will become "0100%" (i.e. 0 + "100%").

screen shot 2018-01-15 at 11 15 50

Is it possible to get the actual container height if the height prop is a string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants