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

Scroll area should change when new Content is added to the model #7

Open
leobispo opened this issue Jun 27, 2016 · 2 comments
Open

Comments

@leobispo
Copy link

If i have 10000 elements inside a container and the scroll is on the bottom and then I dynamically change the content to be 100 elements (for example a search), the scroll area is not automatically resizing.

The same happens when you are inserting new content, for example content pagination.

The component should be able to autoSize when data is inserted/removed.

@illeszsolt
Copy link

Is there a way to reset vsStartIndex somehow?

@wellsayd
Copy link

A work around ... once the data has been added on, then force a window resize event:

http://www.ilearnttoday.com/trigger-window-resize-event-via-javascript/

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

3 participants