How to create a zoomable view (image zoom/pan) in React Native

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 22

  • @justinds18
    @justinds18 4 ปีที่แล้ว +3

    Hey, i'm having problems with
    WARN Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
    Is this something to do with my version of react?

    • @jonasgroendahl
      @jonasgroendahl  4 ปีที่แล้ว

      I believe in the newer versions of React Native, this warning will appear if you didn't specify this property when setting up an animation. I will usually just put this to true. :)

    • @whick5114
      @whick5114 3 ปีที่แล้ว

      I just removed that line, it works like that for me too.

  • @mnabilarta
    @mnabilarta 2 ปีที่แล้ว +1

    This is gold thank you!

  • @ezhilarasansubbarayan7231
    @ezhilarasansubbarayan7231 3 ปีที่แล้ว

    Hi Am getting below error.
    undefined is not an object (evaluating '_reactNative.items[dialog]') can you please help me to overcome this error?

  • @hanishbasheer
    @hanishbasheer 2 ปีที่แล้ว +3

    Not working in android

  • @meikbolender1194
    @meikbolender1194 4 ปีที่แล้ว

    Hi great Video, but could you continue with finish the zoomable image component maybe and share it in an video?

    • @meikbolender1194
      @meikbolender1194 4 ปีที่แล้ว

      Or could you provide a solution how i can save the translationX value, so it doesnt jumps back

    • @jonasgroendahl
      @jonasgroendahl  4 ปีที่แล้ว +1

      ​@@meikbolender1194 Hey Meik, I'll consider it in an upcoming video but if you want solution right now, have a look here: th-cam.com/video/FZnhzkXOT0c/w-d-xo.html (it can be a little difficult to follow)

  • @manueltaveras3546
    @manueltaveras3546 4 ปีที่แล้ว

    Thank you very much for taking the time to making a video on react native, can you talk a little bit about reanimated is it worth it?

    • @jonasgroendahl
      @jonasgroendahl  4 ปีที่แล้ว

      Reanimated also comes with react navigation so it's hard to avoid it, I'd say it has some neat utility functions for more complicated animations 🙂

    • @furkannarin2844
      @furkannarin2844 3 ปีที่แล้ว

      the package he used in the video is actually made by same people created the reanimated

  • @fatemehsafari9421
    @fatemehsafari9421 3 ปีที่แล้ว +1

    it doesn't work!!!

  • @grzegorzpiotrowski8760
    @grzegorzpiotrowski8760 4 ปีที่แล้ว

    Thank you!

  • @kameal96
    @kameal96 2 ปีที่แล้ว

    you sound like Toby from HR

  • @rehanansari-tq9wx
    @rehanansari-tq9wx 3 ปีที่แล้ว

    ❤️❤️❤️cool

  • @Mrkhan-yz8to
    @Mrkhan-yz8to 3 ปีที่แล้ว

    well tought