Skip to content

When using stickToBottom and alwaysShowVScroll it does not start by sticking #372

Description

@skamsie

When using the settings alwaysShowVScroll: true and stickToBottom: 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:

var settings = {
  showArrows: true,
  alwaysShowVScroll: true,
  stickToBottom: true
};

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions