Jump to content
Search Community

Handling doc scroll when SVG full screen

jdhadwin test
Moderator Tag

Recommended Posts

Hi,

 

I've never been in that situation so I couldn't really tell you, but if you ask me my first approach would be to use the Observer Plugin and animate the SVG ViewBox property. In this tutorial @PointC explains how to do that:

https://www.motiontricks.com/basic-svg-viewbox-animation/

 

Also @Carl has a great video on the subject:

 

Another option would be to use Draggable as well as the ViewBox animation, but that would mean a lot more logic too.

 

Happy Tweening!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...