Hi there!
Working with mobile break point is super intuitive, but I just ran into an issue:
I’m using a page load interaction which animates all the elements on my page.
I use Inital State Actions to position them correctly.
However, these animations break the layout on mobile devices, so I tried turning them off.
As you can see in this image, turning off the interaction for certain screen sizes, doesn’t affect the Initial State though, which still breaks the layout.
Any idea on how to fix this?
Check my public link to a preview, switch to the mobile view though.
Thanks in advance!
If I understand your problem correctly, my solution is to make another interaction set for just mobile landscape and portrait that sets the initial state correctly for mobile view.
Update:
Okay, now it’s working - however, there is still one issue:
The separate Page Load for Mobile now handles the intro animation. But unfortunately, the layout breaks if you start with desktop and then switch to mobile (see link, ‘Cities Template’ page). In real life this wouldn’t happen often, but it seems a little hacky.