Skip to content

Scrolling doesn't work when content is added after the fact.#1

Merged
rochal merged 2 commits intorochal:masterfrom
argon:master
Oct 25, 2011
Merged

Scrolling doesn't work when content is added after the fact.#1
rochal merged 2 commits intorochal:masterfrom
argon:master

Conversation

@argon
Copy link
Contributor

@argon argon commented Oct 24, 2011

If you enabled an element for slimScroll then added content to that element scrolling would not work as the scrolling is determined from the height of the scrollbar which was set when initially setting up the pane. This fixes the problem by updating the scrollbar height each time it is shown.

argon added 2 commits October 24, 2011 15:56
If you enabled an element for slimScroll then added content to that element scrolling would not work as the scrolling is determined from the height of the scrollbar which was set when initially setting up the pane. This fixes the problem by updating the scrollbar height each time it is shown.
Do not show scrollbar if the element will not scroll, it's distracting.
rochal added a commit that referenced this pull request Oct 25, 2011
Scrolling doesn't work when content is added after the fact.
@rochal rochal merged commit a5b397b into rochal:master Oct 25, 2011
@rochal
Copy link
Owner

rochal commented Oct 25, 2011

thanks for that! Great job. I'll create minified version and update test page.

Flydiverny pushed a commit to Flydiverny/jQuery-slimScroll that referenced this pull request Jun 23, 2014
clean up set styles on me element on destroy
@ashishsajwan ashishsajwan mentioned this pull request Jul 23, 2015
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

Successfully merging this pull request may close these issues.

2 participants