Jump to content
Search Community

Scroll Smoother and Framer

velkas test
Moderator Tag

Recommended Posts

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({...})

  • Like 1
Link to comment
Share on other sites

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 (
<Component {...props} />
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...