Skip to content

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