Skip to content

4 bugs on ANDROID #166

Open
Open
@skaionedev

Description

@skaionedev

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

  1. "auto" size doesn't work when content inside scrollview dynamically added and height grows but sheet doesn't grows (works perfectly on iOS)
  2. sheet doesn't adjust view and doesn't expand when keyboard is open
  3. can't tap on input (doesn't focus)
  4. footer component doesn't render

Library version

2.0.5

Environment info

  OS: macOS 15.3.2
  CPU: (12) arm64 Apple M4 Pro
  Memory: 124.59 MB / 24.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.14.0
    path: ~/.nvm/versions/node/v22.14.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v22.14.0/bin/yarn
  npm:
    version: 11.1.0
    path: ~/.nvm/versions/node/v22.14.0/bin/npm
  Watchman:
    version: 2025.02.17.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/lib/ruby/gems/3.4.0/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.13016713
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /usr/bin/javac
  Ruby:
    version: 3.4.2
    path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 17.0.0
    wanted: ^17.0.0
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.7
    wanted: 0.76.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Steps to reproduce

  <TrueSheet
      cornerRadius={14}
      sizes={ ["auto"]}
      edgeToEdge
     scrollRef={scrollRef}
    >
  <ScrollView
     ref={scrollRef}
     showsVerticalScrollIndicator={false} 
     keyboardDismissMode="interactive"
     nestedScrollEnabled={true}
     automaticallyAdjustKeyboardInsets={true}>

       <TextInput
              ref={inputRef}
              autoCapitalize={"none"}
              spellCheck={false}
              returnKeyType="none"
              multiline={true}
            />

// some dynamic content

</ScrollView>
</TrueSheet>

Reproducible example repository


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions