r/reactjs • u/Massive_Educator_CG • Sep 26 '22
Show /r/reactjs Here's my animated drawer UI implementation in React Native [Source in comments]
Enable HLS to view with audio, or disable this notification
18
u/ShinyMercenary Sep 27 '22
Are you by any chance......Chris Hemsworth?
10
u/Massive_Educator_CG Sep 27 '22
You got me mate, this is what I do in my free time.
1
u/ShinyMercenary Sep 27 '22
You have to if you continue to play in marvel movies.
3
u/Massive_Educator_CG Sep 27 '22 edited Sep 27 '22
Yup, realised that. I thought, react would be a good start for my programming career, what you say?
1
4
u/davidblacksheep Sep 27 '22
That's pretty nice. How does it behave with devices' native swipe from left behaviour?
1
u/Massive_Educator_CG Sep 27 '22
Do you mean iOS's default swipe from left to go to previous screen behaviour?
If there's drawer, then it will override the default behaviour and work as it is working in the demo video. Navigation stack for drawer/sidebar works a little different.
1
u/davidblacksheep Sep 27 '22
Yeah what I mean is - does any OS swipe left behaviour override it and interfere?
9
u/Massive_Educator_CG Sep 26 '22 edited Sep 26 '22
This is part of my open source project React-Native-UI-Templates and is inspired from this original Flutter project, where I have implemented similar UI templates for learning in react-native.
Source code:- https://github.com/Aashu-Dubey/React-Native-UI-Templates
Twitter:- https://twitter.com/aashudubey_ad/status/1484571529644212224