Skip to content

When height:'auto' there is no way to update it if parent's height is increased #58

@ibc

Description

@ibc

Given this code:

<div id="parent">
  <div id="scrollable">
     [.....]
  </div>
</div>

<style>
  #parent { height: 100px; }
</style>

Let's run slimScroll:

jQuery('#scrollable').slimScroll( { height: 'auto' } );

If later I need to increase/decrease the height of #parent then the size of #scrollable is not updated according, and the worst: there is NO way to update it. Calling again to .slimScroll( { height: 'auto' } ) has no effect, so no way to go.

Do I miss something? or is it a limitation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions