Bottom Sheet in Reanimated 2

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 101

  • @celestindelahaye3491
    @celestindelahaye3491 Рік тому +2

    Two years later, this video is still incredible, thank you evening kid :)

  • @almobarmij
    @almobarmij 3 роки тому +16

    Your contents are premium and unique. You are taking it to another level. Keep it up evening kid.

    • @eveningkid
      @eveningkid  3 роки тому +1

      Thank you Mohamed, this means a lot to me :)

  • @martinmaldonado4923
    @martinmaldonado4923 3 роки тому +7

    Dude, this is top quality content! Just subbed. Keep the reanimated tutorials coming

    • @eveningkid
      @eveningkid  3 роки тому +1

      Really trying to keep this great to watch. Thanks a lot for saying that, it’s amazing to see it’s helpful! More to come :)

  • @raybelmo
    @raybelmo 3 роки тому +2

    Well explained. I now feel comfortable enough to create my Bottom sheet

  • @iamdanquah
    @iamdanquah 2 роки тому

    I must say that evening kid is so unique and knowledgeable... keep on with what you do we love your videos. Thanks alot 👍

  • @programmingpython584
    @programmingpython584 Рік тому +1

    One thing to keep in mind is that this sheet is created with a normal view, so it won't show over the header or tab (if using react navigation). To get that behavior, wrap the whole thing inside a Modal from react-native and write some logic for showing and hiding the Modal on proper time.

    • @programmingpython584
      @programmingpython584 Рік тому

      @Hamza Hussain I don't think there is any way to render a view over the navigation bars etc. But there is a way to produce similar results. As the navigation object in any screen gives us the option to setOptions on the screen, you can use that to hide the navigation tabs and bars programatically (in your case, when opening the bottom sheet), this will span the sheet in the whole screen

  • @AmirAhmic
    @AmirAhmic 3 роки тому

    The video comes earlier than I expected 🥳 Thanks!

    • @eveningkid
      @eveningkid  3 роки тому +1

      I remember someone asking for a bottom sheet... :)

  • @vx1724
    @vx1724 2 роки тому

    Really good explanation, thanks

  • @omerufuk
    @omerufuk 3 роки тому

    This is better than trying to customize a library desperately.

  • @almerandika3638
    @almerandika3638 3 роки тому

    clearly this is premium content....

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you Almer, there’s a lot more you can find on the channel if you’re curious :)

  • @rreell4372
    @rreell4372 3 роки тому

    This is gold content.

  • @jacobcole1271
    @jacobcole1271 3 роки тому

    Awesome example, you made this very easy to understand! Not a big fan of the light theme but I always look forward to watching your videos.

    • @eveningkid
      @eveningkid  3 роки тому

      Thanks for letting me know Jacob. You’re not the only one asking for this, I might turn the whole theme dark next time :)

  • @mahanteshpatil7234
    @mahanteshpatil7234 2 роки тому

    amazing tutorial, I wanted to know how to add background blur, i just wanted to add the animation initial one, I do not have the requirement of pull, but want to blur the background.

  • @gastonquelali1226
    @gastonquelali1226 3 роки тому

    You are THE BEST, goog JOB, thank you very much

  • @annashmuhendra6907
    @annashmuhendra6907 2 роки тому

    thank you, simple and very helpppfullll. god bless you

  • @tiagomarkes_
    @tiagomarkes_ Рік тому

    Amazing video, just used it on my first app, but Im having a problem, cause the slider content sometimes overflows and if I set the overflow to scroll, the scroll movement is overlapped by the slider scroll, making it impossible to scroll the slider content. How do I fix that?

  • @samanthawithanage7521
    @samanthawithanage7521 3 роки тому

    Interesting content and good explanation.

  • @_Oskar_
    @_Oskar_ 3 роки тому

    Just wow, your content is amazing

    • @eveningkid
      @eveningkid  3 роки тому +1

      Just...thank you! I know it might be nothing for you to leave a comment but it means a lot to me. Thanks a lot, glad this is helpful to you :)

    • @_Oskar_
      @_Oskar_ 3 роки тому

      ​@@eveningkid Keep going ;)

  • @GreenTechRasta
    @GreenTechRasta 2 роки тому

    Amazing video, very informative and helpful. Thank you! You gained a subscriber my friend 👌

  • @akmalahmed4660
    @akmalahmed4660 3 роки тому

    Subscribed. Thank you very much from Sri Lanka 🇱🇰

    • @eveningkid
      @eveningkid  3 роки тому +1

      Crazy to think how global this gets! Thank you so much for saying this, very happy this was helpful. Have you been coding in RN for a long time? :)

    • @akmalahmed4660
      @akmalahmed4660 3 роки тому

      @@eveningkid Yes, I'm a RN developer. I always had some issues with understanding RN animations. Luckily I found your channel today. Now I decided to dig deep into RN animations. Thank you for that. I've already shared your channel with my colleagues...😊

    • @eveningkid
      @eveningkid  3 роки тому +1

      Thanks a lot Akmal, that’s really nice of you! Hope to see you around!

  • @govindbagla3599
    @govindbagla3599 2 роки тому +1

    Not working in Android properly not able to close its stuck. Any solution?

  • @prakharbangar8324
    @prakharbangar8324 3 роки тому

    Thank you so much for these videos. Keep teaching us more❤️

    • @eveningkid
      @eveningkid  3 роки тому

      No worries, I’m here to stay! Thank you for the kind words Prakhar :)

  • @germanpineda8070
    @germanpineda8070 3 роки тому

    Excellent video! You’re doing an awesome job 💯

    • @eveningkid
      @eveningkid  3 роки тому

      Thanks a lot man, very happy this was useful to you!! You have no idea how much this kind of comment cheers me up :)

  • @alirezaop3484
    @alirezaop3484 2 роки тому

    Great Video thanks

  • @privat3stuff
    @privat3stuff 3 роки тому

    Amazing as always, thank you!

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you so much, this really helps me keep going :)

  • @pokepoke5531
    @pokepoke5531 3 роки тому

    lots of love

  • @facinick
    @facinick 3 роки тому +1

    Can you share the starter code that you have ? I am not to react native.

  • @rezamohammadi1210
    @rezamohammadi1210 Рік тому

    it could be great if the Home screen backgroundcolor set to something not #fff then it wasn't annoying,
    the problem is you did not provide a link to code source

  • @zameer-haider
    @zameer-haider 3 роки тому

    🤩 awesome sir

  • @emperorrassem
    @emperorrassem 3 роки тому

    Another Great video from you.

    • @eveningkid
      @eveningkid  2 роки тому

      Thank you so much Alauddin! So great to know you liked it :) I hope to see you around!!

  • @NonkelThomas
    @NonkelThomas 3 роки тому

    Awesome! As I'm seeing video requests in the comments, let me add one: how would you approach a bi-directional infinite scroll? (e.g. Calendar on Android in planning mode)

    • @eveningkid
      @eveningkid  3 роки тому +1

      This is quite a tough one, I’ll see if I could fit it into a short video! Either way, I’m sure you’ll find great things to learn on the channel. Thank you very much for your suggestion, it always cheers me up to read comments :)

  • @josephorji8331
    @josephorji8331 3 роки тому +1

    this is awesome, can we get access to the code?

  • @karthikbalasubramanian5122
    @karthikbalasubramanian5122 3 роки тому

    Great video! Thanks !!

    • @eveningkid
      @eveningkid  3 роки тому

      Thanks a lot for leaving a comment, glad this was helpful :)

  • @centurion3708
    @centurion3708 3 роки тому

    The way you explain things is astonishing, can i request a video on how to use the pinch gesture to zoom from any part of image? You know like zoom in a corner or the bottom center, I've trying to do this, but i just not skilled enough to make it work with reanimated 2

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you! I know what you're talking about, I'll see if I can make one. There's a lot already planned on this channel! Wait and see :)

    • @centurion3708
      @centurion3708 3 роки тому

      @@eveningkid Gotta keep an eye on your channel then ;)

  • @virajjayasinghe3434
    @virajjayasinghe3434 3 роки тому

    Valuable video. Keep going

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you, this is definitely the kind of comment that keeps me going! So...keep posting too hehe :)

  • @Quacky_Batak
    @Quacky_Batak 3 роки тому +2

    Another great video ! I tried something like this with reanimated 1 but reanimated 2 has much simpler APIs. The only problem I have is that you use light theme 😥😂

    • @eveningkid
      @eveningkid  3 роки тому

      This would have been a pain I believe to create with Reanimated 1, we agree! V2 is so much more readable...that’s insane. About the light theme, I never use this one but that’s for the video « theming » haha I should consider changing it maybe!

    • @Quacky_Batak
      @Quacky_Batak 3 роки тому

      @@eveningkid yeah v1 implementation was tough I gave up and used the library but now I don't think I will consider using library.
      I got your "theming"! "How to animated" videos follow light theming and other ones dark. Anyways great video 👍

    • @eveningkid
      @eveningkid  3 роки тому +1

      Thanks man :)

  • @makisetakashi
    @makisetakashi 3 роки тому +1

    Can create by animated from react native ?
    Because reanimated such third party libs that in future will be has more breaking changes
    Like reanimated 1 , to reanimated 2 some code structure changes and need more effort to do migration

    • @eveningkid
      @eveningkid  3 роки тому +2

      It’s true. You can do it with Animated and a Pan Responder but it won’t be as smooth on every device. You could replace shared values with animated values, the gesture handler with pan responder handlers and withSpring with Animated.spring! It’s really a matter of replacing libraries (my how to animated series could help you with all the concepts)

    • @makisetakashi
      @makisetakashi 3 роки тому +1

      @@eveningkid Thanks for explanation, just know reanimated is more optimize than pure animated from react native

  • @excalibur885
    @excalibur885 3 роки тому

    awesome tutorial.... keep the coming...

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you! Is there something you'd like to see next? :)

  • @roficakep
    @roficakep 2 роки тому

    how implement this on class component?, sorry I'm newbe.

  • @lorkfongbot4683
    @lorkfongbot4683 3 роки тому

    This is how you teach about animation, visually. Thank you for the high-quality content and clear explanations. Please keep it going. Easily subscribed.

    • @eveningkid
      @eveningkid  3 роки тому +1

      Thank you so much for saying it, I’m very happy you found this helpful! Hope you’ll like the next videos :)

  • @iamsebs
    @iamsebs 3 роки тому

    Thank you so much!

  • @LeandroSimoesArt
    @LeandroSimoesArt 3 роки тому

    You made it so easy to understand! Awesome content! I always have a doubt about how to "organize" better the code and not let everything just be in the same file. There's any way to do that?

  • @jejunegamingtv1359
    @jejunegamingtv1359 3 роки тому

    this is fucking awesome dude!

    • @eveningkid
      @eveningkid  3 роки тому +1

      And that, is a freaking nice comment! Cheers man :)

  • @guillaumemartinez4381
    @guillaumemartinez4381 3 роки тому

    an awesome video again, thaaaaaanks

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you Guillaume! It’s really cool to see you commenting a few times, it helps me a lot :)

  • @Dhruvsaxena19
    @Dhruvsaxena19 3 роки тому +1

    Can you share your walktrough on how you got so good at react native, I kinda want to start react native

    • @eveningkid
      @eveningkid  3 роки тому

      Honestly, there’s no magic recipe... I created many projects, spent countless days working on apps. If you know React and have an idea, you can go through the docs and learn from there based on your needs. You don’t need to know how I got my golden ticket, you gotta find yours!

    • @Dhruvsaxena19
      @Dhruvsaxena19 3 роки тому

      @@eveningkid Ik react and I'hv actually made some apps with react native in past. I suffer with animations and no idea on how to work with them.

  • @weezygang7777
    @weezygang7777 3 роки тому

    why does not work in android physical device?

  • @engincandinc9328
    @engincandinc9328 2 роки тому

    Thanks a lot for this video, it's really helpful.
    Above code works perfectly on iOS. However, pan gesture handler does not work while animation works fine on Android .
    Maybe because of absolute positioning, has anyone got any idea?

  • @HamzaAli-lv3im
    @HamzaAli-lv3im 3 роки тому

    I m new to React Native and can you provide the code of this Video content.?

  • @cryptoknight7256
    @cryptoknight7256 3 роки тому

    Attn to the dude who disliked the video: Did you spot an error in the code? You thought it could have been done in a better way? You were expecting a video about "bottom sheep" and got seriously frustrated? What is it?

    • @eveningkid
      @eveningkid  3 роки тому

      This channel has over 99.5% of likes, I think we’re good with a few unhappy people! Now I wonder, what could possibly be a bottom sheep...haha

  • @cryptoknight7256
    @cryptoknight7256 3 роки тому

    Unless there is already a package out there, having a proper modal with backdrop etc... would be great. :)

    • @eveningkid
      @eveningkid  3 роки тому

      There are really nice packages for that, this was just to illustrate how you can create one quite easily! :)

    • @cryptoknight7256
      @cryptoknight7256 3 роки тому +1

      @@eveningkid I'm currently using react-native-modal which doesn't use Reanimated2. I was wondering if you knew of another react modal option that would leverage it

    • @eveningkid
      @eveningkid  3 роки тому +1

      I used reanimated-bottom-sheet in the past, good one :)

  • @aytacmalkoc
    @aytacmalkoc 3 роки тому

    Hi, it is a really nice content. How do I use this component in other components? Since I am new to React Native, I do not know about it.

    • @eveningkid
      @eveningkid  3 роки тому

      Hey Aytac, this is a tutorial to understand how it works but real-life bottom sheets can be much more complex than this. I'd recommend you to use react-native-bottom-sheet or react-native-reanimated-bottom-sheet, they're both well-made :)

  • @ЗолбооО
    @ЗолбооО 3 роки тому

    Is it work on android?Because I have occured error Javascript worklots error

  • @huanhoatu3029
    @huanhoatu3029 3 роки тому

    Great tutorial! Can you make a video on custom range slider?

    • @eveningkid
      @eveningkid  3 роки тому

      Thanks for the kind words :) What do you mean exactly? Do you have an example maybe?

  • @Nicson-c4k
    @Nicson-c4k Рік тому

    how to blur background

  • @fatihbodur4029
    @fatihbodur4029 2 роки тому +1

    Is it on github?

  • @camilomezu5008
    @camilomezu5008 3 роки тому

    Can you share the code?

  • @AkshatKumawat
    @AkshatKumawat 3 роки тому

    You are spencer carli from react native school ?

    • @psatler
      @psatler 3 роки тому

      the voice is very similar, isn't it? haha

    • @eveningkid
      @eveningkid  3 роки тому

      That’s very possible. You might ask him just to make sure!

  • @zameer-haider
    @zameer-haider 3 роки тому

    Please share the code this app

  • @muhammadmehdi1304
    @muhammadmehdi1304 3 роки тому

    If u make step by step tutorial for Reanimated 2 with best projects i assure u , u will get much subscribers .

    • @eveningkid
      @eveningkid  3 роки тому

      Thank you, Muhammad. Do you have some ideas on your mind? :)

    • @muhammadmehdi1304
      @muhammadmehdi1304 3 роки тому

      @@eveningkid The idea is if u make tutorial step by step like the net ninja with full touching the basics and and each point with reference ,simple and understandable that will help u. And if u try some graphical explanation that will be more good

    • @muhammadmehdi1304
      @muhammadmehdi1304 3 роки тому

      @@eveningkid As i searched and watched alot in youtube and google but this your tutorial touched my heart .