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 jquery.actual to compute height of target element #65

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

styson
Copy link

@styson styson commented Aug 12, 2015

I added a dependency on jquery.actual plugin, and use it to compute height of target, even if not displayed.

The height of a hidden element is 0, but with the plugin the actual height can be detected.

@rviscomi
Copy link
Owner

Not sure I like the idea of adding a plugin dependency. Is there any logic from jquery.actual that can be inlined in trunk8.js?

@styson
Copy link
Author

styson commented Aug 13, 2015

I'm sure it could be replicated - there was not a huge amount of code.

@marijngiesen
Copy link

Check my pull request (#68) for this. I've added some logic from jQuery.actual to make trunk8 work on hidden elements.

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.

3 participants