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

  Рет қаралды 15,459

Digital CEO

Digital CEO

Күн бұрын

Пікірлер: 23
@vaskoooo
@vaskoooo 6 ай бұрын
Man I just discovered your channel and I’m already addicted. You have a realtà nice way to deliver concepts
@vadim4283
@vadim4283 2 жыл бұрын
Useful video, thanks! Here 2:13 you said that you have a nice tutorial on CSS modules, could be interesting to check that
@thedigitalceo
@thedigitalceo 2 жыл бұрын
Yes here ya go kzbin.info/www/bejne/oXekXo2AbrCHp9U
@MadMan2393
@MadMan2393 Жыл бұрын
thank you, very nice and easy to follow
@tiagomarkes_
@tiagomarkes_ 2 жыл бұрын
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!
@thedigitalceo
@thedigitalceo Жыл бұрын
Thanks! A sticky navbar shouldn’t affect anything in this tutorial.
@michaelo4u
@michaelo4u 2 жыл бұрын
Great tutorial man! keep it up :)
@gaetansantucci2017
@gaetansantucci2017 Жыл бұрын
shirt is so cool !
@yahyaabdelkadousssahri9319
@yahyaabdelkadousssahri9319 Жыл бұрын
I looooooooove you for making this
@sopheaktrasarom9831
@sopheaktrasarom9831 2 жыл бұрын
The scroll snap not working smoothly by using mouse in safari . Do you have any solutions?
@subaruLover475
@subaruLover475 2 жыл бұрын
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!
@magnacarta7045
@magnacarta7045 2 жыл бұрын
kzbin.info/www/bejne/n4e3m6aZaadsY6s
@thedigitalceo
@thedigitalceo Жыл бұрын
I actually don’t use tailwind css. I only write custom css personally so I’m not sure but I imagine you’d just have to use whatever tailwind css classes that do the same
@j.ulietta7238
@j.ulietta7238 Жыл бұрын
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
@thedigitalceo
@thedigitalceo Жыл бұрын
Wondering what do you mean by when you scroll it’s not smooth. The tutorial is meant to snap not so much be smooth. Can you describe to give a better idea on what’s happening.
@j.ulietta7238
@j.ulietta7238 Жыл бұрын
@@thedigitalceo Sure :) The snapping works, it's just that when I use the buttons to go to the next section of the webpage it changes smoothly, but when I scroll to the next one there is no smooth transition. In your video it looks like the transition is nice and smooth also when you scroll - it's snapping, but smoothly. That's why I'm wondering what's wrong in my code
@thedigitalceo
@thedigitalceo Жыл бұрын
@@j.ulietta7238 it’s been a while since this tutorial I don’t remember if the repo has exactly what I coded. What about this css property. Maybe you can add this css property to the html class or .container class: scroll-behavior: smooth;
@devrabic
@devrabic Жыл бұрын
@@thedigitalceo same here, when i scroll using the touchpad its smooth, when i scroll using my mouse it isnt smooth
@thedigitalceo
@thedigitalceo Жыл бұрын
@@devrabic is it a Mac mouse or a mouse with a scroll wheel that has notches . It will be janky if the mouse has a wheel with the notches
@LironTal-k4t
@LironTal-k4t 2 жыл бұрын
Hi! what's the best way to know which section index you are currently viewing in your index component?
@dteknyc
@dteknyc 11 ай бұрын
Hey, do you offer tutoring?
This Simple Trick Makes Your Website 83% Better Looking
10:57
Web Dev Simplified
Рет қаралды 402 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Use React to Scroll to Specific Section on Your Website
19:34
Program With Abu
Рет қаралды 53 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,8 МЛН
Learn CSS Scroll Snap In 6 Minutes
6:39
Web Dev Simplified
Рет қаралды 151 М.
The problems with viewport units
13:23
Kevin Powell
Рет қаралды 370 М.
How To Smooth Scroll in React - Smooth Scrolling Tutorial
8:10
Code Commerce
Рет қаралды 162 М.
Goodbye, useEffect - David Khourshid
29:59
BeJS
Рет қаралды 505 М.
The Easiest Way to Build Websites
10:56
Sajid
Рет қаралды 685 М.
Incredible scroll-based animations with CSS-only
32:23
Kevin Powell
Рет қаралды 501 М.
React Animations just got better
8:05
developedbyed
Рет қаралды 92 М.
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 224 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН