Git Product home page Git Product logo

Comments (10)

Gruzchick avatar Gruzchick commented on September 28, 2024 1

@harzh307 the bug remains

from react-native-bottom-sheet.

jgillick avatar jgillick commented on September 28, 2024 1

Here's a snack demonstrating the bug:
https://snack.expo.dev/@jeremyplura/android-keyboard-padding-bottom-sheet-v4

Setting android_keyboardInputMode="adjustResize" does seem to fix it for me (as @harzh307 suggested)

from react-native-bottom-sheet.

Gruzchick avatar Gruzchick commented on September 28, 2024

I noticed that this happens when I use BottomSheetTextInput, if I use TextInput the overlay does not appear

from react-native-bottom-sheet.

vipien avatar vipien commented on September 28, 2024

Did you manage to solve it? I have the same problem but it always happens not only when it reappears.

from react-native-bottom-sheet.

harzh307 avatar harzh307 commented on September 28, 2024

try using android_keyboardInputMode="adjustResize" in the bottomsheet component like this

<BottomSheet
        ref={sheetRef}
        android_keyboardInputMode="adjustResize">

this worked for me and if i speak for every developer it will work for everyone,
and if you're using keyboardBehavior prop then use its "interactive" value

from react-native-bottom-sheet.

harzh307 avatar harzh307 commented on September 28, 2024

@harzh307 the bug remains

what does your code looks like ?

from react-native-bottom-sheet.

noahkurz avatar noahkurz commented on September 28, 2024

Moving to a normal input fixed it for me

from react-native-bottom-sheet.

github-actions avatar github-actions commented on September 28, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

from react-native-bottom-sheet.

harzh307 avatar harzh307 commented on September 28, 2024

Here's a snack demonstrating the bug: https://snack.expo.dev/@jeremyplura/android-keyboard-padding-bottom-sheet-v4

Setting android_keyboardInputMode="adjustResize" does seem to fix it for me (as @harzh307 suggested)

this is how you should've approached the problem @jgillick
<BottomSheetModal android_keyboardInputMode="adjustResize" ref={bottomSheetRef} snapPoints={snapPoints} index={0} style={styles.modal} > <BottomSheetView style={styles.scroller}> <BottomSheetTextInput style={styles.input} placeholder="Field input" /> </BottomSheetView> </BottomSheetModal>

from react-native-bottom-sheet.

abdulragib avatar abdulragib commented on September 28, 2024

android_keyboardInputMode="adjustResize" working fine in android , but not working fine in ios

from react-native-bottom-sheet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.