Smooth Skew Scrolling in React

  Рет қаралды 40,249

Wrong Akram

Wrong Akram

Күн бұрын

Пікірлер: 112
@WrongAkram
@WrongAkram 4 жыл бұрын
Need to mention: Keep using translate3d over translateY as it does provide better performance. Thanks to @TheDjTotzy & @lorem ipsum for the info.
@venkateshy627
@venkateshy627 3 жыл бұрын
quick question window size (height of the body) is not updating when i open different inner links? unless i resize it
@venkateshy627
@venkateshy627 3 жыл бұрын
when i use routes height is not refreshing, like how your website does.what you have done man... let me know..
@venkateshy627
@venkateshy627 3 жыл бұрын
@Izaiah Seth so you don't knw the answer
@KIKOmanasijev
@KIKOmanasijev 4 жыл бұрын
This is f**king premium quality content!!! I've never seen any course on Udemy or any other educational platform built such amazing projects. You deserve a lot more attention.
@WrongAkram
@WrongAkram 4 жыл бұрын
Man you spittin straight fax 📠
@weirdscintillatingvedios2122
@weirdscintillatingvedios2122 Жыл бұрын
Saved me. I was developing my portfolio, and these GSAP people made the Smooth Scroll feature a paid service now. Because of you, I could implement, smooth scroll myself thank you.
@kyryloren
@kyryloren 4 жыл бұрын
love the tutorials. you’ve gotten so much more comfortable on camera, can’t wait to see you fly high 👑
@WrongAkram
@WrongAkram 4 жыл бұрын
Thanks! Glad you noticed :) looking to keep improving
@TheDjTotzy
@TheDjTotzy 4 жыл бұрын
Hey Akram really cool videos, I just wanted to point out that using the translate3d is a good idea when you want to leverage the CPU since it's using GPU driven animation. Keep up the good work bro !
@WrongAkram
@WrongAkram 4 жыл бұрын
Thanks, you are absolutely right! Just checked it out :)
@adarshgoldar
@adarshgoldar 4 жыл бұрын
Really waiting for this smooth scrolling tutorial, and finally, you made it 😍 . Thanks for this 🙌
@WrongAkram
@WrongAkram 4 жыл бұрын
My pleasure 😊
@jafetl.ch.8961
@jafetl.ch.8961 4 жыл бұрын
I love tour tutorials and projects. 🙌🏼
@WrongAkram
@WrongAkram 4 жыл бұрын
WOW Thank you!!!!
@chokdeesam2365
@chokdeesam2365 4 жыл бұрын
The best channel ! Thank you my friend !
@WrongAkram
@WrongAkram 4 жыл бұрын
Thank you so much!
@RahulSharma-ox6se
@RahulSharma-ox6se 4 жыл бұрын
This was super helpful, Akram. Thanks for the video
@vladimirlopez6005
@vladimirlopez6005 Жыл бұрын
It's the best content I've ever seen, thanks!
@MiserableDuck95
@MiserableDuck95 4 жыл бұрын
Hey! Awesome tutorial as always. Question, does the app ref have a purpose? It looks like it's unused in the tutorial.
@matthewao
@matthewao 4 жыл бұрын
Holy subbed in a heartbeat. You’re on your way to 100k bro this is 👌🏼
@florentinw
@florentinw 4 жыл бұрын
Hi, thanks for all those great framer motion tutorials! which camera setup are you using for the moderation shots?
@WrongAkram
@WrongAkram 4 жыл бұрын
Thanks! The camera I am using is the Cannon m50 with the Sigma 16mm 1.4
@OBnoxiousXBOX
@OBnoxiousXBOX 4 жыл бұрын
Hey man! Really appreciate the content . Have just got in to react and what you are creating is inspiring. Keep it up!
@venkateshy627
@venkateshy627 3 жыл бұрын
quick question window size(height of the body) is not updating when i open different inner links? unless i resize it
@prateeksharma4327
@prateeksharma4327 4 жыл бұрын
impressive tutorial bro ... keep up the good work
@WrongAkram
@WrongAkram 4 жыл бұрын
Glad you liked it
@everflavor13
@everflavor13 3 жыл бұрын
Hi! Akram. I really appreciate all your lectures. I have some questions regarding performance optimization. I think we should use cancelAnimationFrame function when scroll movement stopped then call requestAnimationFrame when the scroll event triggers again. Isn't it? When we console data values inside skewScrolling function, seems there are unnecessary computing for setting data values. I just want to hear your opinion. Thanks, again.
@КомпанияВиалент
@КомпанияВиалент 4 жыл бұрын
U're just great speaker, great content. I hope to see more videos like this from you, I wish you rise high with a subscribers number. Good luck.. you're cool!
@WrongAkram
@WrongAkram 4 жыл бұрын
I hope so too!
@thabangcreates
@thabangcreates 4 жыл бұрын
I died at "arg fxck this place ... I sound bitter huh" 🤣🤣🤣😭💀
@WrongAkram
@WrongAkram 4 жыл бұрын
lol
@williamjunior5553
@williamjunior5553 4 жыл бұрын
Best tutorial available on KZbin. Thanks mate 👍
@WrongAkram
@WrongAkram 4 жыл бұрын
🤩 glad you think so!
@rodrigogama1
@rodrigogama1 4 жыл бұрын
Great work! Your tutorials are really impressive!
@WrongAkram
@WrongAkram 4 жыл бұрын
Thanks, that really means a lot!
@hugomeireles6020
@hugomeireles6020 4 жыл бұрын
Nice work, One question. Why you don´t cancel animation on effect? is not necessary?
@WrongAkram
@WrongAkram 4 жыл бұрын
Are you referring to a clean up function in the useEffect?
@hugomeireles6020
@hugomeireles6020 4 жыл бұрын
@@WrongAkram yes, because when I don´t clean up the function sometimes the animation has an issue, but in general nice work, keeps going on the nice job.
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Great stuff Akram, keep it up👍
@WrongAkram
@WrongAkram 4 жыл бұрын
Thank you 🙌
@navinjetha
@navinjetha 3 жыл бұрын
This is amazing! Just wondering how to change this into a horizontal scroll...do you have a tip on this?
@da.b3102
@da.b3102 2 жыл бұрын
Great tutorial! thank you very much!
@tehArgento
@tehArgento 2 жыл бұрын
Great video, how would i reset scroll position on reload because it's just taking me back to the last position i was in even though i use window.scrollto(0,0). Problem doesn't happen on Firefox but it does on chrome
@joetaylor6117
@joetaylor6117 4 жыл бұрын
This is great but the function doesnt unmount when changing page
@guillaumedumez5033
@guillaumedumez5033 3 жыл бұрын
did you find a solution ? :/
@safsafaf2838
@safsafaf2838 3 жыл бұрын
yo thats clear af
@shujaa
@shujaa 4 жыл бұрын
Hey love this great content but the page brakes when you are transitioning to another page it gives an error that the scrollContainer is null
@peymanta8923
@peymanta8923 4 жыл бұрын
Awesome Tuts, Thank you sir.
@mohamedboularas6480
@mohamedboularas6480 3 жыл бұрын
keep it going yuor tuto's ar amazing ❤️❤️❤️❤️
@UncleNabs
@UncleNabs 4 жыл бұрын
Love the tutorials as always! Went over to his site. Would there ever be tutorials on web gl masks
@ABDULMANAN-el8gr
@ABDULMANAN-el8gr 4 жыл бұрын
Hey Akram. Hope you are doing great May you please do a video over the Fundamental Architecture Of React 🙃
@ks-op8pe
@ks-op8pe 4 жыл бұрын
Awesome! Thanks!
@sarthakdandotiya
@sarthakdandotiya 4 жыл бұрын
Keep these lit tutorials coming...
@WrongAkram
@WrongAkram 4 жыл бұрын
Will do!!
@ayanluap
@ayanluap 4 жыл бұрын
can u plz.. make a tutorial of how to use full-calender library in react and customize it in our own way... Btw i already learned a lot of cool animation stuffs from ur videos... I m so glad that i found ur channel❤❤
@pebbles7227
@pebbles7227 2 жыл бұрын
it works well but whenever I click on any anchor tag on the page and if it linked to any element in the page the page breaks
@Tyler-zb6ec
@Tyler-zb6ec Жыл бұрын
Im getting: "ReferenceError: window is not defined" in the useWindowSize hook any thoughts on why? Using Nextjs btw
@alldesigncode
@alldesigncode 4 жыл бұрын
This is very good!
@kerovinvillegas6402
@kerovinvillegas6402 4 жыл бұрын
Thanks for this but I wanna know the reason behind the values on computing the skewConfig like why 100? Thanks again
@bernardopapini
@bernardopapini 3 жыл бұрын
Amazing tutorial! But using this solution, I can't positioned fixed any element (like a navbar or a "back to top" button, for example). How can I use in this case?
@abhayrohit
@abhayrohit 3 жыл бұрын
Either have the Element outside the scroll container or just add Scroll Event Listener and set the item's left and top coordinates as offsetX and offsetY
@TheSldsnake
@TheSldsnake 4 жыл бұрын
Men u are my hero !
@WrongAkram
@WrongAkram 4 жыл бұрын
;)
@mdyousufgazi4030
@mdyousufgazi4030 4 жыл бұрын
epic! loved it
@junaidtariq4547
@junaidtariq4547 4 жыл бұрын
Ihatetomatoes mention you in recent video and he advice you to remove the wrong akram and just put akram by the way your all tutorial are awesome and thanx buddy 😍
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
Haha, yes you are right I would rename it 😂
@junaidtariq4547
@junaidtariq4547 4 жыл бұрын
@@Ihatetomatoes 😂😂
@Ihatetomatoes
@Ihatetomatoes 4 жыл бұрын
@Sentinel haha, is this a contest for the worst channel name? Maybe we would be the finalists :)
@srdesigns7258
@srdesigns7258 Жыл бұрын
Hi, Is still that applicable on Webflow ? If yes, how ?
@sakshamkapoor5905
@sakshamkapoor5905 4 жыл бұрын
Thanks man, this is lit ❤
@WrongAkram
@WrongAkram 4 жыл бұрын
Glad you like it!
@sakshamkapoor5905
@sakshamkapoor5905 4 жыл бұрын
@@WrongAkram hey man, just 1 question, why is it lagging(in my browser atleast)? is it because it calls skewScrolling() recursively or something?
@RedVelocityTV
@RedVelocityTV 4 жыл бұрын
You are THE best
@francomm2662
@francomm2662 4 жыл бұрын
World best Akram
@WrongAkram
@WrongAkram 4 жыл бұрын
Thank you!
@dimtodim
@dimtodim 3 жыл бұрын
whitch video is about timeout getBoundingClientRect???
@mohammedfaris5326
@mohammedfaris5326 3 жыл бұрын
react intersection observer not working with skew scrolling
@thomsjel
@thomsjel 2 жыл бұрын
is this possible in next js? because of ssr
@koko0808008
@koko0808008 4 жыл бұрын
Thank you again for this great tutorial again. Is it me or scroll to with link anchors doesnt work with this solution ?
@davetodream
@davetodream 4 жыл бұрын
Don't suppose you managed to fix this?
@koko0808008
@koko0808008 4 жыл бұрын
@@davetodream i prefer to use locomotivScroll
@davetodream
@davetodream 4 жыл бұрын
@@koko0808008 Thanks I'll check it out.
@godwinebikwo6544
@godwinebikwo6544 3 жыл бұрын
how does one handle accessibility with this?
@roobs456
@roobs456 3 жыл бұрын
This keeps running even when the page isn't being scrolled. Not sure if there's a way around this..
@naufalfarras1802
@naufalfarras1802 4 жыл бұрын
Hi Akram, appreciate your videos! These are seriously premium, but do you mind to create similiar content like this for non react project?
@WrongAkram
@WrongAkram 4 жыл бұрын
For sure!
@typescripter
@typescripter 3 жыл бұрын
18:35 thank you ! but using translate3D is more good in performance cuz it use GPU ! not CPU ! so , apple use as well when just move one direction
@spencershrek1491
@spencershrek1491 3 жыл бұрын
Is there an easy way to make these image elements clickable? Was thinking of having a set of carousels with a similar effect, but the elements don't seem clickable once this is implemented :thinking
@dinosantic8671
@dinosantic8671 3 жыл бұрын
remove ''pointer-events: none;'' from css file
@spitechinthanathatset649
@spitechinthanathatset649 4 жыл бұрын
Epic!
@WrongAkram
@WrongAkram 4 жыл бұрын
kzbin.info/www/bejne/oKOrcmmAodeCfqc
@LbzeyroX
@LbzeyroX 3 жыл бұрын
how can i do this on click ?
@grandpaK420
@grandpaK420 Жыл бұрын
can someone link me the project for the debounce function he talked about at 11:25 thanks :) awesome video btw!
@StarCourtesan
@StarCourtesan 4 жыл бұрын
Hey which video has the debounce thingy?
@WrongAkram
@WrongAkram 4 жыл бұрын
Awwwards Rebuilt Episode 2
@StarCourtesan
@StarCourtesan 4 жыл бұрын
@@WrongAkram Thank you so much
@darkristy
@darkristy 4 жыл бұрын
I just added this to my nextjs site but whenever you change routes it keeps the previous height that was set from previous page. Anyway to fix that?
@WrongAkram
@WrongAkram 4 жыл бұрын
I would reset the state or in our case the configs current back to 0 so it restarts from the top.
@darkristy
@darkristy 4 жыл бұрын
@@WrongAkram so how would that look exactly because im thinking of on routechangecomplete set current back to zero, i did that but no difference. I must be missing something here.
@venkateshy627
@venkateshy627 3 жыл бұрын
hey did you find any reason for that, because i got the same issue.. please help me out?
@darkristy
@darkristy 3 жыл бұрын
@@venkateshy627 I gave up and ditch the hook he created and used resize-observer, here's a good example utilizing react-spring someone made, codesandbox.io/s/react-spring-smooth-scrolling-tfwv0
@davetodream
@davetodream 4 жыл бұрын
Has anyone worked out how to make links clickable using this?
@dinosantic8671
@dinosantic8671 3 жыл бұрын
remove ''pointer-events: none;'' from css file
@timeticks4625
@timeticks4625 3 жыл бұрын
Does somebody has also a problem with the viewHeight ? - it´s scrolling far over my content above, I don´t get it why...
Page Transitions with React Router and Framer Motion
52:23
Wrong Akram
Рет қаралды 141 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 15 МЛН
Micro Interactions using Anime.js | HTML, CSS & Javascript
33:32
Wrong Akram
Рет қаралды 49 М.
Reviewing Your Portfolios
30:32
Wrong Akram
Рет қаралды 15 М.
React & Three.js | Working with Shaders using React Three Fiber
35:53
Reviewing Subscribers Portfolios #2
47:09
Wrong Akram
Рет қаралды 14 М.
Bring Life to Your Website | Parallax Scrolling using React and CSS
4:12
Closure: Web Dev. & More
Рет қаралды 87 М.
Get started with React and Three.js using react three fiber
47:41
Wrong Akram
Рет қаралды 104 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 731 М.
Lenis Smooth Scroll & ScrollTrigger: A Perfect Animation Duo
10:18
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26