react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Switch animation is missing after navigate to another screen (android)

Open hotaryuzaki opened this issue 1 year ago • 2 comments

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

  1. import Switch from react-native
  2. add Switch like this
<Switch
  value={swicth}
  onValueChange={() => setSwitch(!swicth)}
/>
  1. open the screen then navigate to another screen
  2. 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

hotaryuzaki avatar Sep 26 '23 08:09 hotaryuzaki

: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.

github-actions[bot] avatar Sep 26 '23 08:09 github-actions[bot]

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.

github-actions[bot] avatar Apr 03 '24 05:04 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Apr 10 '24 05:04 github-actions[bot]