-
Notifications
You must be signed in to change notification settings - Fork 630
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
When using stickToBottom and alwaysShowVScroll it does not start by sticking #372
Comments
Ok have looked source what is causing this? |
@illuusio I have added information on how to reproduce it... Not sure what I can provide more. You can use the example file in the repository but replace
|
Never mind, I see it is related to this 8 years old bug: #125 |
It seems so. I got to find time to fix this in near future but my timeline for working on this is very limited. So providing Pull Request (PR) would make fixing much faster. |
…ottom and you have to turn off maintainposition if you like to use it
Ok this should be fixed but not as nicely as I like it. Have to stick it to new resizer to make it work as people want.
Then it always stick to bottom. If you need to maintainPosition you have to turn it on after you have enough stuff in table as if this chat or something then it always jumps to bottom when reinitialize()-function is called if maintainPosition if not set. |
When using the settings
alwaysShowVScroll: true
andstickToBottom: true
and the content is dynamically loaded, I would expect it to remain stuck at bottom when the height of the content becomes higher than the height of the element. However this does not happen. The slider is at the bottom in the beginning, but it starts raising as soon as the content starts to overflow. You have to scroll to bottom once to get the desired behavior.How to test. In this demo file: https://github.com/vitch/jScrollPane/blob/master/examples/dynamic_content.html replace the settings with:
The text was updated successfully, but these errors were encountered: