ANIMATED Tab Bar Navigation in React Native

  Рет қаралды 48,737

DesignIntoCode

DesignIntoCode

Күн бұрын

Пікірлер: 125
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
I have a course coming out on building an Instagram clone from scratch using React Native & Firebase, make sure you sign up to get discounts, release date info and sample chapters! www.instaclone.app
@vinodyevatikar1594
@vinodyevatikar1594 4 жыл бұрын
Bro.. TouchableOpacity work at bottom part only... Why❓
@turinturambar-l3g
@turinturambar-l3g 3 жыл бұрын
I just followed your tutorial and implemented it on ios. But how to implement it on android since on android it is not possible to click an item outside of the boundaries of its parent? Does this mean this functionality is just limited to ios?
@farhatulsk
@farhatulsk 3 жыл бұрын
Really wow such a cool content❤️👍keep up
@Артур-ъ5г3ю
@Артур-ъ5г3ю 4 жыл бұрын
onPress not work when click button outside tabbar area. You know how to fix it?
@_ianito
@_ianito 4 жыл бұрын
you fixed this bug?
@erie_e9
@erie_e9 4 жыл бұрын
I'd like it too, help
@engineerdude7
@engineerdude7 4 жыл бұрын
​@@_ianito This won't work in Android (1/2), iOS only.
@sardarusama4369
@sardarusama4369 4 жыл бұрын
Beautiful and Awesome video, on animation, with much easier code... Thank you soooooooooooooooooooooooo much... Want to see more videos like this....
@ycdcherokee
@ycdcherokee 3 жыл бұрын
man... WOW!!
@mrezavasebi562
@mrezavasebi562 3 жыл бұрын
Excellent tutorial. Thanks
@HimanshuYT
@HimanshuYT 5 жыл бұрын
You deserve millions sub
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Well thank you so much!
@JeanPierreCasanovaFuentes
@JeanPierreCasanovaFuentes 4 жыл бұрын
new to your vids but i'm amazed!! thumbs up!!!!
@ronakkoradiya4074
@ronakkoradiya4074 4 жыл бұрын
Hey bro i am from 🇮🇳, when i watch this video my mind say this is cool 😎, attractive and also your coding way is very good 👍 i really appreciate 😊 keep going i learn so much from you thank you ❤ @DesignIntoCode
@MarkJamesButcher
@MarkJamesButcher 3 жыл бұрын
This is nice, thank you but I have an issue with the AddButton When pressed it sometimes it is rendering the empty component to the screen. How can I prevent this event from accruing?
@CriticManiaInZeWorld
@CriticManiaInZeWorld 2 жыл бұрын
yes plzzz help
@abhishekvk1762
@abhishekvk1762 4 жыл бұрын
I have added TouchableOpacity instead of View. onPress is not getting triggered. Need Help
@diditsb5361
@diditsb5361 3 жыл бұрын
sory , im have one question . how to make floating sub button touchable ? thx..
@Dragon9220
@Dragon9220 4 жыл бұрын
HOLY BRO, YOU ARE AWESOME, I LOV SO MUCH YOUR VIDS SAAAAAAAAAAAAAAAAAAAAAAA this song is so good
@cleyton1986
@cleyton1986 5 жыл бұрын
amazing !
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Thank you!
@aqdasilyas2768
@aqdasilyas2768 3 жыл бұрын
how to change the color of active tab bar item or icon and inactive tab bar item or icon????
@samidebayroune3478
@samidebayroune3478 2 жыл бұрын
screen null is not suppoerted anymore in react navigation use listeners and prevent defaulr instead listeners={{ tabPress: e => { e.preventDefault() } }}
@UpNext-gc5xg
@UpNext-gc5xg Жыл бұрын
how to close on back button press
@keremylmaz9595
@keremylmaz9595 3 жыл бұрын
When I press the Addbutton it navigates some page, also in this page animation is not working
@ogulcankarayel5625
@ogulcankarayel5625 4 жыл бұрын
How can I achieve that,screen:() => null in react navigation v5
@Ha-uw1qb
@Ha-uw1qb 4 жыл бұрын
same question :(
@GabrielBarbosa-nm9sd
@GabrielBarbosa-nm9sd 4 жыл бұрын
this project is make in expo API 33.0, we are in version 38.0, so we cant use this code for us today, unfortunately
@venkatbalak6692
@venkatbalak6692 4 жыл бұрын
Try this medium.com/@my.maithi/react-native-navigation-add-custom-button-in-the-middle-of-tabbar-6c390201a2bb
@rishisonifilms
@rishisonifilms 4 жыл бұрын
how to close expanded options if I click outside area of screen? Any idea?
@programmerashraf1999
@programmerashraf1999 3 жыл бұрын
Source code link not working
@_ianito
@_ianito 4 жыл бұрын
How can i add onPress to views?
@ka-nn
@ka-nn 4 жыл бұрын
me too, onPress not working
@mohammaddehgamwala9635
@mohammaddehgamwala9635 3 жыл бұрын
because View is not touchable component add touchableOpacity component in its parent
@vikillakkavatri6416
@vikillakkavatri6416 4 жыл бұрын
Hi I try this but I m facing some issue i.e. the mid circle (button plus) and there relative circle (on click btn plus click appear buttons) on it click event was not triggered so I want to fire click event on it is there any solution
@marcomak810
@marcomak810 5 жыл бұрын
when i run it on ip6, white screen is appear when i press the addbutton component. How to fix this bug?
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
ip6? Do you mean iPhone 6?
@marcomak810
@marcomak810 5 жыл бұрын
Yes iphone6s, try to rapidly tap on the add button component, the homepage turn white
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
What version of iOS? My guess would be it may not be supported anymore
@marcomak810
@marcomak810 5 жыл бұрын
@@DesignIntoCode IOS 13
@marcomak810
@marcomak810 5 жыл бұрын
should i use the newest version of gesture handler ?
@ogulcankarayel5625
@ogulcankarayel5625 4 жыл бұрын
Good content. How to decrease opacity of app when user clicks the plus button ?
@mohammaddehgamwala9635
@mohammaddehgamwala9635 3 жыл бұрын
change background opacity to 0.5 or something
@midoritamura574
@midoritamura574 3 жыл бұрын
All of us are in the error that when you click on the secondary icons these do not work and is due to the top, leaves the bottomNavigator area and stops working, this will not be fixed with the TouchOpacity, if anyone knows how to fix it post it would be of great help, also try to find a solution to this error
@syedshahbazhussain1920
@syedshahbazhussain1920 4 жыл бұрын
How to I can pass null screen in react navigation 5?
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
You can't there has to be a screen component. What are u trying to achieve?
@syedshahbazhussain1920
@syedshahbazhussain1920 4 жыл бұрын
@@theguyfromsikkim5786 In React navigation v4 we pass the null screen like this: Screen: { screen: () => null, navigationOptions: { tabBarIcon: } }, But how to do it in react navigation 5?
@theguyfromsikkim5786
@theguyfromsikkim5786 4 жыл бұрын
@@syedshahbazhussain1920 in v5 i haven't tried providing null as a component u can try, it is declarative in v5 like const TabStack = createTabNavigator() ; // you can try providing null in component prop
@venkatbalak6692
@venkatbalak6692 4 жыл бұрын
Try this medium.com/@my.maithi/react-native-navigation-add-custom-button-in-the-middle-of-tabbar-6c390201a2bb
@zainulabideen5587
@zainulabideen5587 4 жыл бұрын
Really Nice.
@simonhylander7489
@simonhylander7489 4 жыл бұрын
has anyone been able to recreate this in react navigation 5?
@venkatbalak6692
@venkatbalak6692 4 жыл бұрын
I am trying to do it with the plus button added outside the navbar but not yet finished
@owaisiqball
@owaisiqball 3 жыл бұрын
Yes. It's pretty much the same.
@mohammedhama7158
@mohammedhama7158 4 жыл бұрын
react native Error property 'left' is not supported by native animated module
@juansoler544
@juansoler544 3 жыл бұрын
Hi thanks for the content you do for the community, I have been working on the FAB (floating action button) like the one in this video, I have problems getting the pop-up buttons to work inside a Tab-navigator and for them to generate a tab action -navigator, navigate to a screen. I have been looking at the comments of the two videos that you have put to see if someone gives indications of how to solve it, but I can not find, nor do I find it on the network, it would be helpful if you collaborate with us. like you've been doing.
@herbertk9266
@herbertk9266 4 жыл бұрын
Thks alot! Subscribed
@davidfiebig3429
@davidfiebig3429 4 жыл бұрын
I have a project where I want to use this tab bar, but I don't use expo. I still followed your tutorial and I can see the tab bar, but without any icons. Can someone help me to get this running?
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
The package is just built into expo, just install it manually, github.com/oblador/react-native-vector-icons
@vinodyevatikar1594
@vinodyevatikar1594 5 жыл бұрын
Dude... Thanks and subscribed..
@kogilankrishnansamy9622
@kogilankrishnansamy9622 3 жыл бұрын
(Bug):- for android, the TouchableHighlight is not clickable outside of the bottom bar (negative margin). Do anyone has a solution?
@joseehloko
@joseehloko 4 жыл бұрын
At 7:22 my shadow doesn't appear button: { backgroundColor: '#7F58FF', alignItems: 'center', justifyContent: 'center', width: 72, height: 72, borderRadius: 36, position: 'absolute', top: -60, shadowColor: '#7F58FF', shadowRadius: 5, shadowOffset: {height: 10}, shadowOpacity: 0.3, borderWidth: 3, borderColor: '#FFF'
@nadyafarchanaf
@nadyafarchanaf 4 жыл бұрын
i add elevation: 3 to appear my shadow
@samidebayroune3478
@samidebayroune3478 2 жыл бұрын
the shadow is not suppoerted by android instead use elevation for android devices and you can't change elevation color it's always #000
@abedzim5247
@abedzim5247 5 жыл бұрын
You are amazing !
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Thanks!
@mhndak
@mhndak 4 жыл бұрын
Awesome , can you tell me the music name?
@peymanhakemifar3671
@peymanhakemifar3671 4 жыл бұрын
i created this with react navigation v5, but the part of plus button that is located above the tabbar is not clickable the same as three animated buttons, how can i fix this?
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
If you check the rest of the comments, there are a few examples on how to fix that
@kangnguyen5930
@kangnguyen5930 4 жыл бұрын
how to scan qrcode react-native? thank you!
@codewithdominic9318
@codewithdominic9318 3 жыл бұрын
I tried this and it wouldn't work with react-navigation 5.. is there any way to use it in 5?
@DesignIntoCode
@DesignIntoCode 3 жыл бұрын
Right, this is for version 4. The docs outline how to do it in 5 pretty well. reactnavigation.org/docs/drawer-based-navigation
@victrixsvs
@victrixsvs 5 жыл бұрын
a drawer, tab and stack navigator screen would be very good.
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
There is a video on drawer navigation coming soon!
@maddelasaritha4335
@maddelasaritha4335 4 жыл бұрын
Vector icons are not working in this is there any problem or else to fix it pls let me know ..
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
Are you using expo? If not, then you'll have to pull in the vector icon package
@maddelasaritha4335
@maddelasaritha4335 4 жыл бұрын
@@DesignIntoCode tq for u r quick rply actually that's my mistake after installing vector icons I didn't link the package that is the reason icons were not worked now working fine ..tq u
@kayrules2
@kayrules2 4 жыл бұрын
I made the whole button clickable by assigning it as a new component via createAnimatedComponent method of Animated: ``` const AnimatedTouchable = Animated.createAnimatedComponent(TouchableHighlight); ... ```
@aniketnagapure2554
@aniketnagapure2554 4 жыл бұрын
@Mazin Luriahk Thanks man it worked like charm . any resources you would like to share for learning animation in RN
@sergiomilla8771
@sergiomilla8771 4 жыл бұрын
It works, thanks
@influgix6769
@influgix6769 4 жыл бұрын
Could you help me accelerate the animation ?. It is too slow for me
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
You can just change the duration property
@dheyson-alves
@dheyson-alves 4 жыл бұрын
Hey! Nice tutorial. I've got an issue here, somehow my Icons are not appearing. I'm using IonicIcons and doesn't appear. Have you any idea what could have happened?
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
Can you share the code you're using to import them and use them?
@dheyson-alves
@dheyson-alves 4 жыл бұрын
@@DesignIntoCode Hey, what`s up? I just got the solution, it seems it was just a misleading syntax hahaha. Thanks in advance for answer, and the tutorial really helped.
@danpetre5414
@danpetre5414 5 жыл бұрын
This is just crazy and awesome! :) I'm wonder if it would be possible to build a login system that can show tabs based on the election on the signUp. For example, in the same app to have workers and clients and show them different tabs based on their election. How would you aproach something like this?
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Sure, that’s fairly simple. You could store their “type”, worker or client, in your database system, like firebase. And then just do, if worker, show these tabs, else show other tabs
@ajiehatajie
@ajiehatajie 5 жыл бұрын
how set animation not very slow ?
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Change the duration time. Check out my other video on the animated floating button.
@ajiehatajie
@ajiehatajie 5 жыл бұрын
@@DesignIntoCode can you share link does your mean ?
@makc6878
@makc6878 4 жыл бұрын
Круто 🤘
@michaelallen6635
@michaelallen6635 5 жыл бұрын
I was looking for a tutorial like this 💞💥 Would it be possible to add routes to these buttons within that stack?
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
Glad it helped! It’s probably possible to add the routes into the tab bar stack, but also probably more effort than it’s worth. I’d just create a separate stack and control it with the onPress events
@leekaori
@leekaori 5 жыл бұрын
@@DesignIntoCode hi can you explain this in more detailed. i'm trying to add routes to these buttons
@DesignIntoCode
@DesignIntoCode 5 жыл бұрын
@@leekaori You'd probably want to setup a stack that includes these buttons. And on each button, in it's onPress event, you'd direct to the appropriate route, this.props.navigation.navigate("yourroutename")
@leekaori
@leekaori 5 жыл бұрын
@@DesignIntoCode hi, does AddButton,js need to be put into the stack?, btw how to completely disable to add tab bar? cause if i press on the middle (other than on the AddButton) it return white screen (bcos it it null right?)
@vikillakkavatri6416
@vikillakkavatri6416 4 жыл бұрын
​@@DesignIntoCode click event was not working on that button because it above the bottomnavigator can explain how we can achive click event on that
@ranaahtsham936
@ranaahtsham936 4 жыл бұрын
npm install react-navigation react-navigation-tabs react-native-reanimated react-native-gesture-handler@~1.3.0
@khalilgardouh6965
@khalilgardouh6965 4 жыл бұрын
sudo npm install react-navigation react-navigation-tabs react-native-reanimated react-native-gesture-handler@~1.3.0 you are forgot ~
@ranaahtsham936
@ranaahtsham936 4 жыл бұрын
Thanks
@himanshipatel3532
@himanshipatel3532 4 жыл бұрын
Is it working in android ??
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
Yes
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
Come chat with us on Discord! discord.gg/xg5auu4
@shrikantjha5630
@shrikantjha5630 4 жыл бұрын
#coolAnimation tutorial
@ka-nn
@ka-nn 4 жыл бұрын
pls help, my mid button cant be clicked
@mohamedlaghzali5726
@mohamedlaghzali5726 3 жыл бұрын
fucking god
@dibayuin7859
@dibayuin7859 4 жыл бұрын
Look , I found gems on youtube react native tutorial ❤
@ilyasayusuf5447
@ilyasayusuf5447 4 жыл бұрын
meanwhile here i am figuring how to center icon and the label
@midoritamura574
@midoritamura574 3 жыл бұрын
justifycontent: 'center', alignItems:'center' :3
@ilyasayusuf5447
@ilyasayusuf5447 3 жыл бұрын
@@midoritamura574 Hi its been a year, i can say that i am already really good at RN now. I can do redux, hooks, class, animation, 2D animation with state machine, etc :D I am still learning to improve performance like using hermes or using C in the code
@midoritamura574
@midoritamura574 3 жыл бұрын
@@ilyasayusuf5447 You were able to fix the button bug?
@ilyasayusuf5447
@ilyasayusuf5447 3 жыл бұрын
@@midoritamura574 yeah
@midoritamura574
@midoritamura574 3 жыл бұрын
@@ilyasayusuf5447 How did you solve it?
@excalibur885
@excalibur885 4 жыл бұрын
It's a good tutorial but NOT useful without touchable childrens. Would be great if you could show to community how to make them touchable instead explaining one by one. I read some comments and the most common question was how to replace small icons with touchables.
@DesignIntoCode
@DesignIntoCode 4 жыл бұрын
Just make them a touchableopacity instead of a view
@Ha-uw1qb
@Ha-uw1qb 4 жыл бұрын
How can I achieve that,screen:() => null in react navigation v5
@GabrielBarbosa-nm9sd
@GabrielBarbosa-nm9sd 4 жыл бұрын
this project is make in expo API 33.0, we are in version 38.0, so we cant use this code for us today, unfortunately
@venkatbalak6692
@venkatbalak6692 4 жыл бұрын
Try this medium.com/@my.maithi/react-native-navigation-add-custom-button-in-the-middle-of-tabbar-6c390201a2bb
Slide In Drawer Navigation in React Native
13:19
DesignIntoCode
Рет қаралды 123 М.
Simple Animated Tabs in React Native with React Native Reanimated
14:40
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 17 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 46 МЛН
Deadpool family by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 6 МЛН
Bottom Navigation Bar Tutorial in React Native
14:12
Indently
Рет қаралды 125 М.
Reflectly Tabbar - “Can it be done in React Native?”
24:46
William Candillon
Рет қаралды 40 М.
React Native Tab Bar Routing with Expo Router
11:29
Simon Grimm
Рет қаралды 82 М.
Mind blowing animation in React Native and Expo with Animated API
16:34
Custom Tab Navigation in Expo Router | React Native Tutorial | Part 1
20:11
React Native Shared Element Transition
6:43
William Candillon
Рет қаралды 68 М.
React Native FlatList Animations
17:22
William Candillon
Рет қаралды 147 М.