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

Fix calculation of inner width of container element when re-initialising... #253

Closed
wants to merge 1 commit into from

Conversation

hiddentao
Copy link

When calling reinitialise() the elem.innerWidth() calculation ends up returning the old inner width (at least on Chrome on OS X) because the CSS width is being zero-ed. Fix this.

@vitch
Copy link
Owner

vitch commented Oct 23, 2013

I'm pretty sure that the code you deleted is necessary for dynamic width scrollpanes to work. Does this example still work with your change? Can you provide a jsfiddle showing the problem you were trying to solve?

@illuusio
Copy link
Collaborator

This should be fixed in new version.

@illuusio illuusio closed this Dec 28, 2017
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.

None yet

3 participants