Closed brysem closed 1 year ago
Hi @brysem ! Thanks for the issue.
Could you kindly push a reproducible example as FlatList Example 6
after forking the repository?
I'll try to investigate the problem after that.
Thanks for the quick reply.
I created an example 6 in my fork. https://github.com/brysem/flat_list/commit/1c3499d468aa3aea461852f682b0d6ea0dc7ae16
Observations:
Please let me know if I can be of anymore help.
I decided to have a go at fixing the issue myself. Please see https://github.com/hyochan/flat_list/pull/6 I apologize for the auto formatting.
Description
First of all amazing package! Love the functionality. I am running into one small issue though.
The FlatList onRefresh is not fired when the list is smaller than the viewport of the screen. As soon as the list has more items than fits inside the viewport, the onRefresh behavior works as expected.
Expected Behavior
I expect to see the RefreshIndicator and the code inside onRefresh executed.
Environment:
To Reproduce Steps to reproduce the behavior: