-
Notifications
You must be signed in to change notification settings - Fork 89
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 for items larger than viewport #62
Conversation
For each axis (X,Y) the item is considered in the viewport when: - It's dimensions are fully within the viewport (original calculation) - It's dimension are fully outside the viewport (new) So the behaviour only changes for items that are actually taller/wider :) This probably also fixes DockYard#37
Sadly I don't know much about automated testing yet @ Javascript, so I don't know what's with the Travis CI build failing 😞 |
@rhengeveld The Travis CI failure isn't related to your PR; it looks like a recent update to the For reference, here is the output from Travis CI:
|
@rhengeveld Thanks for this PR! If you rebase against the latest master, your build should stop breaking. |
Temporarily disable linting for `module-for-acceptance`
@poteto Thanks for the heads up, this seems to do the trick! 😄 |
It'd be great to have this PR merged. I'm also dealing with this problem of elements taller than the viewport not triggering hooks. |
Something to consider, if not already considered, |
☔ The latest upstream changes (presumably 082e884) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably e70de8f) made this pull request unmergeable. Please resolve the merge conflicts. |
If using the latest releases of this addon, |
For each axis (X,Y) the item is considered in the viewport when:
So the behaviour only changes for items that are actually taller/wider :)
This probably also fixes #37