Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RefreshControl in FlatList makes padding not working #20147

Closed
tandat2209 opened this issue Jul 11, 2018 · 1 comment
Closed

RefreshControl in FlatList makes padding not working #20147

tandat2209 opened this issue Jul 11, 2018 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@tandat2209
Copy link

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

@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Jul 26, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jul 26, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants