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 to buttom and reduce the contents of the container, the scroll bar will not adapt to changes automatically #322

Open
10229428 opened this issue Jul 20, 2021 · 1 comment
Labels

Comments

@10229428
Copy link

I have a list with perfect scroll bar.

  1. Scroll to the bottom;
  2. Reduce the contents of the container, for example, filter the list, then they become less;
  3. There are many gaps in the container;
  4. I must scroll up to show the list

How can I resolve this problem? Thanks!

image

@sconix
Copy link
Contributor

sconix commented Jul 22, 2021

This is a dom based library so its not aware of if there is DOM changes. There is a update method provided that can be called when content changes so PS knows to refresh itself.

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

No branches or pull requests

2 participants