Skip to content

RefreshControl in FlatList makes padding not working #20147

Closed
@tandat2209

Description

@tandat2209

Environment

Environment:
OS: macOS High Sierra 10.13.5
Node: 8.11.2
Yarn: 1.7.0
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ^0.55.3 => 0.55.3

Description

<FlatList
   ...
   style={{paddingHorizontal: 100}}
   refreshControl={<RefreshControl
            refreshing={refreshing}
            onRefresh={this.onRefresh}
          />}
/>

The padding does not work on Android

Expected:
The padding works on both iOS and Android

Reproducible Demo

https://snack.expo.io/BJ-Xj8mQ7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions