react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.47k stars 5.01k forks source link

[Android] RefreshControl appears when closing modal screen #10914

Open lkalashov opened 1 year ago

lkalashov commented 1 year ago

Current behavior

When modal screen containing ScrollView that utilises RefreshControl is closed, RefreshControl indicator becomes visible during the whole animation. I am using slide_from_bottom animation in this particular case.

Expected behavior

RefreshControl indicator should not be visible unless refreshing: true is provided to RefreshControl component.

Reproduction

https://github.com/lkalashov/sample-navigation

Platform

Packages

Environment

package version
@react-navigation/native =6.0.10
@react-navigation/bottom-tabs =6.3.1
@react-navigation/drawer =6.4.1
@react-navigation/native-stack =6.6.1
react-native-safe-area-context =3.3.2
react-native-screens =3.10.2
react-native-gesture-handler =2.1.3
react-native-reanimated =2.3.3
react-native =0.64.3
expo =44.0.6
node v14.19.2
npm or yarn yarn 1.22.18
github-actions[bot] commented 1 year ago

Couldn't find version numbers for the following packages in the issue:

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

lkalashov commented 1 year ago

This issue references previous issue with android animation. I have updated reproduction example so that it reproduces described behaviour.

pwltr commented 3 weeks ago

Still existent with react-native 0.74 and react-navigation v6.