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

Use outerWidth before hiding #609

Closed
CheriePun opened this issue May 20, 2015 · 1 comment
Closed

Use outerWidth before hiding #609

CheriePun opened this issue May 20, 2015 · 1 comment

Comments

@CheriePun
Copy link

The value reported by .outerWidth() is not guaranteed to be accurate when the element or its parent is hidden. To get an accurate value, ensure the element is visible before using .outerWidth(). - Documentation

I am having the problem of the widget being extremely since it was getting a much larger outerWidth after the widget was hidden. The value should be retrieved before hiding.

mlh758 added a commit that referenced this issue Mar 15, 2016
Also fix for #614
@mlh758
Copy link
Collaborator

mlh758 commented Mar 15, 2016

Fixed in a recent commit. Thank you for bringing this up.

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

No branches or pull requests

2 participants