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

Android back button no longer works with reduced motion

Open pierroo opened this issue 1 year ago • 2 comments

Description

I recently upgraded to reanimated v3 since then, lots of issue that were already discussed in other topics (I also wish there was a general settings to turn it off for the whole app)

But I didn't see a mention of android back button no longer working because of it.

Users who face that issue, confirmed that turning off reduced motion in their android settings fixed the back button.

Steps to reproduce

1- turn reduce motion ON 2- use hardware back button on android (the one at the bottom right of android) 3- doesn't work

Snack or a link to a repository

https://snack.expo.io/

Reanimated version

3.6.2

React Native version

0.73.4

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Release app & production bundle

Device

Real device

Device model

No response

Acknowledgements

Yes

pierroo avatar Feb 28 '24 09:02 pierroo

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Feb 28 '24 09:02 github-actions[bot]

Hi @pierroo I was unable to reproduce your issue in our example app, we were using


import { NavigationContainer, useNavigation } from '@react-navigation/native';
import {
//...
  NativeStackNavigationProp,
} from '@react-navigation/native-stack';

//...
const Stack = createNativeStackNavigator();
//...
  return (
    <NavigationContainer independent={true}>
      <Stack.Navigator>
        <Stack.Screen name="First" component={FirstScreen} />
        <Stack.Screen name="Second" component={SecondScreen} />
      </Stack.Navigator>
    </NavigationContainer>
  );

What type of navigator do you use? Could you provide a simple reproduction?

Latropos avatar Mar 05 '24 08:03 Latropos

@pierroo Hi! We are quite sure that the error is specific to certain animation library. Could you tell, what navigation library do you use?

Latropos avatar Mar 12 '24 08:03 Latropos