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: implementation #1027

Open
necolas opened this issue Jul 7, 2018 · 9 comments
Open

RefreshControl: implementation #1027

necolas opened this issue Jul 7, 2018 · 9 comments
Labels
project:react-native-web Issue associated with react-native-web

Comments

@necolas
Copy link
Owner

necolas commented Jul 7, 2018

https://facebook.github.io/react-native/docs/refreshcontrol

@necolas necolas mentioned this issue Jul 7, 2018
19 tasks
@piranna
Copy link

piranna commented Jul 7, 2018

https://github.com/piranna/react-native-web-extended/blob/master/src/components/RefreshControl/index.js

@NiciusB
Copy link

NiciusB commented Sep 26, 2019

This functionality is pretty important for my use case.

I tried to make piranna's solution work but I ended up implementing my own solution as a package called react-native-web-refresh-control.

Example Snack: https://snack.expo.io/@niciusb/refreshcontrol-example

@hosseinmd
Copy link
Contributor

hosseinmd commented Nov 29, 2020

I like to work on that, @necolas do you have any task in progress or any idea?

@sudhanshug16
Copy link
Contributor

@necolas I've added a PR implementing this component, please have a look.
Would love to address any review suggestions from your side

@feduss
Copy link

feduss commented Jan 26, 2021

@NiciusB 's implementation works, @sudhanshu16 's one doesn't...i don't know why, same code, only different import

@sudhanshug16
Copy link
Contributor

@feduss. Can you describe(code snippet is welcomed) how you are using it? Please mention the same in the PR #1861 as it concerns my implementation and not the issue itself. Thanks

@necolas necolas added this to the 0.18 milestone Mar 29, 2021
@necolas necolas added the project:react-native-web Issue associated with react-native-web label Jul 2, 2022
@necolas necolas modified the milestones: 0.20: Image, 0.21: ScrollView Aug 24, 2022
@cranberryofdoom
Copy link

cranberryofdoom commented Feb 24, 2023

I noticed that if you provide SectionList with a refreshControl prop, it renders nothing on web. It took me a while to realize that since RefreshControl was not implemented, that it was the cause!

I'm assuming this is the case for ScrollList and VirtualizedList too since SectionList uses VirtualizedList uses ScrollView.

What's the best way to note this gotcha? (Happy to contribute to docs, let me know where I can make some updates! :D)

@likeSo

This comment was marked as off-topic.

@Parmar-Bansi
Copy link

when refresh in a web props undefined error occurs any one have an idea to solved this type of issue ..???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:react-native-web Issue associated with react-native-web
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants