Skip to content

[Bug]: Error: Index 0 out of bounds for length 0 #2612

@renatomserra

Description

@renatomserra

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

Android

What happened?

Getting this error on android for a few users only

Error: Index 0 out of bounds for length 0

I tried adding a snapoint with different options but they still ahve the error

    <BottomSheet
      ref={bottomSheetRef}
      enablePanDownToClose
      enableDynamicSizing
      snapPoints={[1]}
      index={-1}
      backgroundStyle={styles.listContentContainer}
      handleIndicatorStyle={styles.handleIndicator}
      backdropComponent={renderBackdrop}
      onClose={onClose}

Reproduction steps

Reproduction sample

N/A

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions