showtime-xyz / showtime-tab-view

A react native TabView component that support collapse header and custom refresh control, powered by Reanimated & GestureHandler. Join Showtime:
https://showtime-xyz.notion.site/Join-Showtime-Public-fa6282938e284134b302184062d7e329
MIT License
219 stars 23 forks source link

Flicker in scroll while refreshing is True #18

Open AlirezaHadjar opened 11 months ago

AlirezaHadjar commented 11 months ago

Hi, Thank you for the amazing library that you created. I found a bug in it. If you scroll the list (e.g. TabFlashList) while the refreshing prop is true, it flickers.

https://github.com/showtime-xyz/showtime-tab-view/assets/57192409/59c39d47-91c5-4bd4-b97f-17cea8ac5d0b

I tested it on the Example code sample and it happens there too. You just need to increase the refreshing time by replacing 300 in the setTimeout with 10000.

alantoa commented 10 months ago

Hey, @AlirezaHadjar, thanks for reporting. Actually, I had noticed this before. The fix is still a work in progress here. I will continue working on it when I have time!