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

How to change RefreshControl swiping down height in ScrollView #28125

Closed
MonarthS opened this issue Feb 19, 2020 · 1 comment
Closed

How to change RefreshControl swiping down height in ScrollView #28125

MonarthS opened this issue Feb 19, 2020 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.

Comments

@MonarthS
Copy link

Description:

I want to change the swipe down length for RefreshControl in ScrollView, but there is no option to change swipe down length.

rsz_screenshot_2020-02-19_at_70538_pm

Currently I have to Swipe down too much.

React Native version:

System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
    Memory: 22.70 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 8.17.0 - /usr/local/opt/node@8/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/opt/node@8/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Android Studio: 3.1 AI-173.4697961
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-native: 0.61.4 => 0.61.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-log-ios: 1.0.1

Expected Results

minimum swipe down for RefreshControl.

Snack, code example, screenshot, or link to a repository:

<ScrollView style={{scrollY: 0}} contentContainerStyle={{ flex: 1 , scrollY:30}} showsVerticalScrollIndicator={false} refreshControl={
          <RefreshControl title={'refreshing'} tintColor={'red'} onRefresh={this.onRefresh.bind(this)} refreshing={this.state.refreshing} />
        }>
</ScrollView>
@hramos hramos added Type: Question Issues that are actually questions and not bug reports. and removed Needs: Triage 🔍 labels Feb 19, 2020
@hramos
Copy link
Contributor

hramos commented Feb 19, 2020

Closing as this is not a bug.

@hramos hramos closed this as completed Feb 19, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Oct 1, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

3 participants