Share Posted June 21, 2022 Has anyone managed to integrate Scroll Smoother with Framer? Link to comment Share on other sites More sharing options...
Share Posted June 21, 2022 I've never used Framer, sorry. But it's a good question - maybe someone else can chime in who has used Framer. If there's one root element in the <body>, it should be entirely possible as long as you load GSAP, ScrollTrigger, and ScrollSmoother and just ScrollSmoother.create({...}) 1 Link to comment Share on other sites More sharing options...
Author Share Posted June 21, 2022 The following component override (using ScrollerMotion library) seems to do the trick. Still need to try with GSAP Scroll Smoother. import type { ComponentType } from "react" import { ScrollerMotion } from "scroller-motion" export function withScrollerMotion(Component😞 ComponentType { return (props) => { return ( <ScrollerMotion> <Component {...props} /> </ScrollerMotion> ) } } Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now