React native - Facebook UI - SearchBar

  Рет қаралды 17,070

Bug2Star

Bug2Star

Күн бұрын

Пікірлер: 56
@masterwayne9790
@masterwayne9790 3 жыл бұрын
Thanks for this, I was searching for expanded search bar
@keithmanning6564
@keithmanning6564 2 жыл бұрын
good thing you put a comment about importing react, otherwise I wouldn't have known what you were doing!
@deshanmadurajith3995
@deshanmadurajith3995 4 жыл бұрын
Keep It Up... Nice work. Also Nice Background Music.
@bug2star219
@bug2star219 4 жыл бұрын
Thanks! :)
@AsadAli-gb3tz
@AsadAli-gb3tz 4 жыл бұрын
it is giving error on android NoopNode cannot be cast to ClockNode
@vineelkumar5253
@vineelkumar5253 3 жыл бұрын
Try to import Animated from react native not from react native reanimated package. Will solve the problem
@shehzadaslam4302
@shehzadaslam4302 4 жыл бұрын
Great Work
@bug2star219
@bug2star219 4 жыл бұрын
Thank you Shehzad!
@abdeldjabarahmeidi7097
@abdeldjabarahmeidi7097 3 жыл бұрын
Thank you, but the source code link is not working
@abdulbasit_64
@abdulbasit_64 3 жыл бұрын
Great content!
@clintonngotta
@clintonngotta 4 жыл бұрын
great tutorial.. very helpful
@dioritbajrami8283
@dioritbajrami8283 3 жыл бұрын
On Android it wont work right, since the Search Bar will just vanish after the click on the Search Icon
@anhquannguyen5111
@anhquannguyen5111 4 жыл бұрын
Great work. Thank you so much.
@rodrigomendoza1060
@rodrigomendoza1060 4 жыл бұрын
solution when textinput disappears, import useRef and add it in your animation variables, example: const _input_box_translate_x = useRef (new Value (width)). current; I hope it works :)
@FalconLover5xX
@FalconLover5xX 4 жыл бұрын
Helped a lot thanks :D
@julielesage960
@julielesage960 4 жыл бұрын
thank you Rodrigo !
@MalikFaizanHeatstoler
@MalikFaizanHeatstoler 3 жыл бұрын
can you please share the perfect source code
@rodrigomendoza1060
@rodrigomendoza1060 3 жыл бұрын
@@MalikFaizanHeatstoler Sure, I must say that it is not perfect, I recommend that you check the react documentation
@nikhilyadav945
@nikhilyadav945 3 жыл бұрын
can you share the source code
@eliasmoreno4672
@eliasmoreno4672 3 жыл бұрын
why isn't this in a github repository??? The link provided doesn't go anywhere. pls fix
@karmanimohamedamine6058
@karmanimohamedamine6058 4 жыл бұрын
@Bug2Star Same problem when I test your code. I don't use clock, and i'm still facing this issue with a downgrade version of react-native-reanimated (v1.10.0). Now, I'm on a 1.13.2 version and still not work. Can you check to the problem please and tell me what changes I need to do on your code ? Thank you in advance !
@unbekannt8926
@unbekannt8926 4 жыл бұрын
How can I get the images and texts from a facebook post to my app?
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
I could use it with react hook but when i test the app in Android Emulator. After clicking seach button, the text input is not visible but i still can type. Any problems with android platform ? Please check this
@bug2star219
@bug2star219 4 жыл бұрын
Maybe you have not correctly connected the state to the input component
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
@@bug2star219 i don't think so. Because the code is the same. When i run it on IOS emulator ( xcode ), it works. But when i run it on Android emulator, the text input doesn't show :(
@bug2star219
@bug2star219 4 жыл бұрын
i ve not tested on android but, maybe you can add "elevation" property within "zIndex"
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
@@bug2star219 I added "elevation" and see the text input then. But cannot click back button and focus text input for second time. IOS still work normally with the same code =((
@rodrigomendoza1060
@rodrigomendoza1060 4 жыл бұрын
hi Khanh Duy, did you find a solution?
@periklisrips4355
@periklisrips4355 3 жыл бұрын
Hi, thanks for the video. I found the problem for which we get "NoopNode cannot be cast to ClockNode". The problem is the duration (11:24) in: const content_traslate_y_config = { duration: 0 ... } Apparently, a duration of 0 somehow translates to a NoopNode. When I changed that to 200, it magically worked! Not sure if something has changed in reanimation v2.x and it was allowed before, but it's not allowed now.
@vineelkumar5253
@vineelkumar5253 3 жыл бұрын
Try to import Animated from react native not from react native reanimated package. Will solve the problem
@masterwayne9790
@masterwayne9790 3 жыл бұрын
Source code link isn't working can you provide some alternate link
@mosesegboh
@mosesegboh 3 жыл бұрын
Hello, the link to your source code is not working. Kindly check it out
@sdsim1
@sdsim1 2 жыл бұрын
thanks
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
hi ! I have a problem when using this code with react hook and arrow function. When i type a first single text, it blurs immediately. Can you show me a version of react hook ? So many tks
@anhquannguyen5111
@anhquannguyen5111 4 жыл бұрын
Same problem here, actually the input doesn't blur since the keyboard still appears. I see the issue that is the onChangeText re-render and reset the style of the translateX to initial value everytime you type... Any helps please? Thanks in advance
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
@@anhquannguyen5111 so sad =((
@anhquannguyen5111
@anhquannguyen5111 4 жыл бұрын
@@KhanhDuy-dv2ub So you can just create a new class component and then import the searchbar to your screen :D. It works well
@KhanhDuy-dv2ub
@KhanhDuy-dv2ub 4 жыл бұрын
@@anhquannguyen5111 lol :D i don't think it's a good solution
@charlesaondo5464
@charlesaondo5464 4 жыл бұрын
@@KhanhDuy-dv2ub can you share the code on how you achieve this using hooks and arrow function, thank you kindly
@shehabmind4481
@shehabmind4481 3 жыл бұрын
the source code link isnt working can you help ?
@CriticManiaInZeWorld
@CriticManiaInZeWorld 2 жыл бұрын
Can someone give me a github link plz
@adarshjaiswal7334
@adarshjaiswal7334 4 жыл бұрын
Bro, why had you discontinued to upload videos. You are awesome. If you keep uploading your videos will be definitely be trending among the react-native community.
@bug2star219
@bug2star219 4 жыл бұрын
I had to work on a very big project and surely the pandemic didn't help me to have more free time, but new videos are coming soon using react hooks! stay connected 💪🏻
@eliasmoreno4672
@eliasmoreno4672 3 жыл бұрын
where is the code to this??
@chauphan3221
@chauphan3221 4 жыл бұрын
My friend or make a watch video of facebook
@corybunge5209
@corybunge5209 4 жыл бұрын
Great work! Source code?
@bug2star219
@bug2star219 4 жыл бұрын
Thanks! I'm working on it, soon I will put the source codes online and update the video description with the link :)
@corybunge5209
@corybunge5209 4 жыл бұрын
Bug2Star appreciate it thank you
@bug2star219
@bug2star219 4 жыл бұрын
@@corybunge5209 Source code is now available online here bug2star.com/post/1/react-native-facebook-ui-search-bar
@corybunge5209
@corybunge5209 4 жыл бұрын
Bug2Star amazing !! Thank you!
@corybunge5209
@corybunge5209 4 жыл бұрын
Bug2Star is there a better way to get in touch with you? Are you on any other social media?
Facebook React Native clone Interface & styled components
1:08:12
ReCreating
Рет қаралды 21 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Mind blowing animation in React Native and Expo with Animated API
16:34
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 499 М.
Drawer menu screen transitions using react-navigation v5 - React Native
51:54
React-Native by Wilhelm (React-UI-Kit)
Рет қаралды 52 М.
How to Create Search Filter in React Native | Search in FlatList
16:28
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 243 М.
React Native Shared Element Transition
6:43
William Candillon
Рет қаралды 68 М.
Momo Header Animation - React Native
18:40
Minh Techie
Рет қаралды 23 М.
React Native #16: FlatList Handle Search
10:54
Lirs Tech Tips
Рет қаралды 21 М.
Advanced React Native FlatList animations at 60fps with Animated API
20:11
Onboarding UI in React Native
16:03
Pradip Debnath
Рет қаралды 140 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН