Skip to content

White space in android #1630

Open
Open
@hardikamber

Description

@hardikamber

Current behavior

Having a lot of white spaces when using it in android
https://github.com/user-attachments/assets/d9dce512-2ef5-4a7b-a5d5-1a172834a585

Expected behavior

this is my implementation from flatlist here not having any whitespace
https://github.com/user-attachments/assets/0a0b113b-65af-4e5c-83eb-8918b316a322

To Reproduce

        <FlashList
          bounces={false}
          ref={scroll}
          contentContainerStyle={{
            ...styles.listContainer
          }}
          data={DATA}
          renderItem={renderItem}
          ListFooterComponent={<InventoryListFooter />}
          ListFooterComponent={() => {
            return <Text style={{ backgroundColor: 'green', paddingVertical: 50 }}>Loading...</Text>;
          }}
          // // onEndReachedThreshold={0.5}
          onEndReached={handleEndReached}
        />

Platform:

Screen_Recording_20250424_185734_amber.mp4
  • iOS
  • Android

Environment

x.y.z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv2.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions