react-native
react-native copied to clipboard
Switch animation is missing after navigate to another screen (android)
Description
Switch component animation is missing after navigate to another screen, i already checked in issues but got nothing so i create this as bug.
React Native Version
0.71.4
Output of npx react-native info
System: OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa) CPU: (4) x64 Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz Memory: 273.00 MB / 15.54 GB Shell: 5.0.17 - /bin/bash Binaries: Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.2/bin/yarn npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm Watchman: 20220123.190932.0 - /usr/local/bin/watchman SDKs: Android SDK: Not Found IDEs: Android Studio: Not Found Languages: Java: 11.0.20.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.4 => 0.71.4 npmGlobalPackages: react-native: Not Found
Steps to reproduce
- import Switch from react-native
- add Switch like this
<Switch
value={swicth}
onValueChange={() => setSwitch(!swicth)}
/>
- open the screen then navigate to another screen
- back to previous screen
Snack, screenshot, or link to a repository
HERE IS THE SNACK (OPEN IN ANDROID NOT WEB) https://snack.expo.dev/@brambang/navigating-without-the-navigation-prop-%7C-react-navigation?platform=android
https://github.com/facebook/react-native/assets/17826213/4e65acf9-8e9a-4343-ad6d-8469180eb4e2
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.71.13. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.