software-mansion / react-native-screens

Native navigation primitives for your React Native app.
MIT License
3k stars 508 forks source link

Showing refresh icon on the top of the screen having onRefresh in the flatlist while navigating back - Android Only. #1626

Closed rifad4u closed 3 weeks ago

rifad4u commented 1 year ago

Description

Showing a white refresh icon on the top of the screen while navigating back from a screen having refresh control or refresh props in the flatlist. This issue is occuring in the android devices only and not occuring in the android OS 8.

This issue won’t come if i refresh the screen at-least once when mounted and issue won’t come if i comment the refresh control or the refresh props.

I'm attaching the snack link below .

Steps to reproduce

Go to the snack link and run the code with android device and make sure the OS is 10 or above.

Snack or a link to a repository

https://snack.expo.dev/C8tAWFbdE

Screens version

3.18.2

React Native version

0.70.4

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

No response

Device

No response

Device model

No response

Acknowledgements

Yes

PedroBern commented 1 year ago

workaround

itsramiel commented 1 year ago

experiencing this issue on android

devoren commented 1 year ago

same issue

rifad4u commented 5 months ago

Why it is still open? @tboba, @WoLewicki, @uzegonemad, @okwasniewski, @cortinico

alduzy commented 3 weeks ago

I can confirm that the problem no longer occurs.

``` "react-native-screens": "3.18.2" ``` ``` "react-native-screens": "3.33.0" ```
https://github.com/user-attachments/assets/8a9088f6-cf4a-4de6-8772-75f26d2ae64f https://github.com/user-attachments/assets/747990c0-89c3-47a6-aabe-5c91cc6b0c8a