Rasul Akhundov Posted March 31, 2023 Share Posted March 31, 2023 Hi Gsap Team. I have a question about ScrollSmother Setup in React SPA? is this control gonna be from one page or all pages different? I have problem with page transition so that scroll zeroed not working correctly and ScrollSmoother optimization doesn't work good flickering happens. Please help me about this. Thanks in advance Link to comment Share on other sites More sharing options...
Cassie Posted March 31, 2023 Share Posted March 31, 2023 Hi there! This should help https://stackblitz.com/edit/react-iqmjfx?file=src%2FApp.js or possibly some demos and articles here - Link to comment Share on other sites More sharing options...
Rasul Akhundov Posted April 3, 2023 Author Share Posted April 3, 2023 Sorry. this solution did not give me what I wanted. I asked for how can I create 2 and more pages in React with Gsap ScrollSmoother and I can't find anywhere example about this. by the way I am Gsap Shockingly green subscriber and I used ScrollSmoother without trial. Please help me about this. Thank you so much Link to comment Share on other sites More sharing options...
Solution Cassie Posted April 3, 2023 Solution Share Posted April 3, 2023 Hi Rasul, there's no membership attached to this account. I assume you've got the membership on a work account? This demo uses the trial package but you can just swop out the gsap-trial package for your club package! I combined a couple of our stackblitz demos here to show two pages with ScrollSmoother and some page transitions, hope it helps.https://stackblitz.com/edit/react-6h64vx?file=src/views/Boxes.js 2 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