Will we ever be safe from KeyboardAvoidingView?

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025
  • Learn React Native Gestures and Animations at start-react-na...
    Follow us on Twitter:
    / wcandillon
    / jnybgr

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

  • @Akshatgiri
    @Akshatgiri 4 ปีที่แล้ว +84

    So it's not just me that sucks at dealing with keyboarding avoiding view. I feel so much better now.

    • @bawad
      @bawad 4 ปีที่แล้ว +30

      KeyboardAvoidingView gives me nightmares

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

      I am working on it right now... and it sucks so hard. Even worse when you have to combine it with a Flatlist or ScrollView.

  • @fernandorojo6311
    @fernandorojo6311 4 ปีที่แล้ว +22

    Until you’ve tried to use KeyboardAvoidingView inside of a react-native-screens/native-stack modal, you haven’t truly seen the darkness.

    • @casanova5743
      @casanova5743 9 วันที่ผ่านมา

      😂😂😂 Complete misery

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

    Im really enjoying your conversations. Keep it going guys, good work!

  • @johnhaupenthal
    @johnhaupenthal 4 ปีที่แล้ว +7

    The support group I really need

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

      So good to see you here John ☺️

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

    Add scrollview for user to scroll up

  • @rafaelcuello3242
    @rafaelcuello3242 4 ปีที่แล้ว +2

    Hello from Dominican Republic 🇩🇴

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

    Oh my God I'm not the only one who hates working on KeyboardAvoidingView on android, this is a very interesting conversation, you guys should really do a live stream, hopefully I'll be able to join

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

      It's just so ridiculously inconsistent! When you take into account devices that have soft buttons, that don't, that have full screens etc, it's just not gonna work right on 100% of devices. Especially when you have UI situations where you might have a normal TextInput in the middle of the screen but then another that's maybe positioned at the bottom, if you're building a chat functionality in your app, for example.

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

    William is definitely right that Expo changes windowSoftInputMode between the Expo development client and the built APK. So aggravating

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

    i'm literally having issues with this right now LOL, i used to work with keyboard aware scroll view component, it used to work flawless, but then i decided to use the native component, and it has been A NIGHTMARE

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

    It's always a pain using inputs in scrollview and keyboard visible. I developed a number of apps but I still have problems configuring it. If content is not longer than screen height, just give it a minHeigh=deviceHeight, so problem solved. But if it is, its nightmare.

  • @ravi.rupareliya
    @ravi.rupareliya 4 ปีที่แล้ว +1

    Hahaha, thank god I am not alone in this one.

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

    The struggle is real haha, most relatable video.

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

    So why don't we disable it on Android if it already avoids obstructing the view?

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

    Bonjour..cant agree more.

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

    Hello William Candillon can you discuss about expo-background-fetch why it doesn't work in ios but working fine in android

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

    every project ever the keyboard avoiding view will ruin everything, my best tip is to wrap keyboard avoiding view in your own component and do platform specific configuration and offsets in order to get it working everywhere

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

    Great guys thanks

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

    I feel that I will never master KeyboardAvoidingView. It's hard to identify which view to wrap and it goes on.
    Only the dead can know peace from this evil.

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

      I can totally relate to the problem you just stated. It's a real pain while coding a custom form component

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

    Oh all you guys are in misery too? Goddd hugs for everyone here, ahahahaha. Thanks, I feel much better now.

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

    I completely agree that it should be named Ios to prove it only works there

  • @0906WEST
    @0906WEST 4 ปีที่แล้ว

    The feel of misery. That is EXACTLY the feeling you get. Platform specific paddings and other crap 💩

  • @태평-m1w
    @태평-m1w 4 ปีที่แล้ว

    this is totally my story.
    I once was working in bare project of expo and for some reason had to move on to the managed one
    and then I became to do this 'KeyboardAvoidingView' and It was not what I had been expecting
    so I had to move on to the bare project again to modify android xml ahhhhh It was terrible

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

    Wait what? On android it works without using . The keyboard thing is handled automatically on Android

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

    AdjustPan isn't the same as iOS. AdjustPan moves whole app window to the top.

  • @AdityaPahilwani8989
    @AdityaPahilwani8989 4 ปีที่แล้ว +7

    I use scrollView instead of KeyboardAvoidingView *small hack*

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

      What is keyboard avoiding view ?? I'm not into this stuff properly

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

      @@neeshsamsi Here's the reference - reactnative.dev/docs/keyboardavoidingview

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

    No one build a AvoidingKeyboardAvoidingView yet that actually works?

  • @adarshjaiswal7334
    @adarshjaiswal7334 4 ปีที่แล้ว +2

    That show how immature react native really is.

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

    it sucks.