Make full viewport sections snap scroll in React (scroll to sections on click, animation, more)

preview_player
Показать описание

CONNECT ON MY DISCORD:

0:00 intro
1:08 Dev shirt
1:45 Boiler plate setup
3:30 Full screen sections HTML
5:14 Full screen sections CSS
6:00 Parent Scroll Container
7:30 Add props to sections
9:00 Animate to sections onClick
11:15 Hide Arrow on last section
12:00 Animate sections on scroll with GSAP

Full Repo:
Рекомендации по теме
Комментарии
Автор

Man I just discovered your channel and I’m already addicted. You have a realtà nice way to deliver concepts

vaskoooo
Автор

thank you, very nice and easy to follow

MadMan
Автор

Useful video, thanks! Here 2:13 you said that you have a nice tutorial on CSS modules, could be interesting to check that

vadim
Автор

Awesome video, getting my first react project done for University and your video is exactly what i was looking for. Kinda found my way through it but it'd be nice if you included something about how to deal with sticky navbars on mobile with the scroll snap. Keep up the good work!

tiagomarkes_
Автор

The scroll snap not working smoothly by using mouse in safari . Do you have any solutions?

sopheaktrasarom
Автор

Hi! what's the best way to know which section index you are currently viewing in your index component?

LironTal-kt
Автор

Hi there 👋, would it be possible to show how this is done using tailwind css? I don't seem to see any other content creator with a video on it, so it would really help. Thanks and liked the video!

subaruLover
Автор

Hey, thank you for this tutorial, it helped me a lot. I have one problem tho: scrolling between sections is smooth only when I use the buttons, when I scroll it's not smooth at all. Any ideas what can be wrong? I checked all the scss files in your repo and mine are the same

j.ulietta