rn-search-bar-animation icon indicating copy to clipboard operation
rn-search-bar-animation copied to clipboard

Example with dynamic content

Open wouterds opened this issue 5 years ago • 4 comments

I'll look into an example with a refresh control to load more content, reason being I've been trying to achieve the same thing for the past few days but was unable to.

wouterds avatar Aug 10 '18 17:08 wouterds

@wouterds Here is an example https://gist.github.com/bogoslavskiy/2acb5a7ec62a3c5d969aeac3ea2d6e4b

Unfortunately, native refresh control does not work. This problem is due to padding in flatlist contentContainerStyle It will be necessary to use custom refresh control.

bogoslavskiy avatar Aug 11 '18 17:08 bogoslavskiy

I know, and that's exactly the problem we've endured as well this week :(. I can't get it working :/.

Sent from my iPhone

On 11 Aug 2018, at 19:01, Artem Bogoslavskiy [email protected] wrote:

@wouterds Here is an example https://gist.github.com/bogoslavskiy/2acb5a7ec62a3c5d969aeac3ea2d6e4b

Unfortunately, native refresh control does not work. This problem is due to padding in flatlist contentContainerStyle It will be necessary to use custom refresh control.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

wouterds avatar Aug 11 '18 21:08 wouterds

@wouterds There was such issue https://github.com/facebook/react-native/issues/10718 It was not closed :(

bogoslavskiy avatar Aug 12 '18 15:08 bogoslavskiy

@wouterds use refresh control on flat list

dmitryshelomanov avatar Nov 14 '18 19:11 dmitryshelomanov