I am using this plugin in a few sites where I still didn't implemented a responsive layout.
One of those site is www.idomlive.com, and I use in-viewport to animate some parts of the page, as shown here:
http://www.idomlive.com/EN/platform/
The problem is in mobile it doesn't seem to be working, this is reproducible in Chrome's mobile emulation. I scroll the element in and out of the viewport and nothing happens. I've noticed that, in my iPhone, if I zoom into the elements they sometimes seem to react and trigger the inViewport callbacks, but it's quite tricky to replicate.
After further testing I believe this is related to how mobile browser calculate scroll position. Not sure if hdpi screens have any influence or not. Have you any experience in these situations that you can share?
I am using this plugin in a few sites where I still didn't implemented a responsive layout. One of those site is www.idomlive.com, and I use in-viewport to animate some parts of the page, as shown here: http://www.idomlive.com/EN/platform/
The problem is in mobile it doesn't seem to be working, this is reproducible in Chrome's mobile emulation. I scroll the element in and out of the viewport and nothing happens. I've noticed that, in my iPhone, if I zoom into the elements they sometimes seem to react and trigger the inViewport callbacks, but it's quite tricky to replicate.
Im using the plugin like this:
I've tried removing the
offset
property but that doesn't seem to produce any effect in the mobile devices.Any thing else I can try here?