-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back button Android Ripple effect is not showing up on react-navigation 6 #9794
Comments
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. |
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. The versions mentioned in the issue for the following packages differ from the latest versions on npm:
Can you verify that the issue still exists after upgrading to the latest versions of these packages? |
Issue still exists Packages: |
Can confirm. |
any news? @satya164 |
Это до сих пор не поправлено ? |
The same issue is going to happen if you use PlatformPressable with
That also happens outside react-navigation. Relevant to: |
Please provide enough information so that others can review your pull request. **Motivation** closes #9794 also observed that the ripple radius can be very slightly increased to be like in the native android toolbar why the `foreground` isn't simply `true`? see facebook/react-native#37901 **Test plan** tested locally
Please provide enough information so that others can review your pull request. **Motivation** closes #9794 also observed that the ripple radius can be very slightly increased to be like in the native android toolbar why the `foreground` isn't simply `true`? see facebook/react-native#37901 **Test plan** tested locally
Current behavior
The Android Ripple effect is not showing up when pressing the back button on react-navigation 6.
I suppose this is a bug and I've somewhat tracked it down, although I'm not experienced enough in react-navigation to fix it.
react-navigation/packages/elements/src/Header/HeaderBackButton.tsx
Lines 146 to 160 in 3aab9fd
react-navigation/packages/elements/src/PlatformPressable.tsx
Lines 66 to 84 in 3aab9fd
Removing
borderless: true
makes it show up, but as a square. It looks like radius is missing or something.I guess there is a reason, but why not just use react-native's
TouchableNativeFeedback
?https://github.com/hsjoberg/blixt-wallet/blob/e1a689f5d8b9ddfc2950aec205b71748065acb64/src/components/NavigationButton.tsx
Expected behavior
Ripple effect should show up on supported Android devices.
Reproduction
https://github.com/hsjoberg/react-navigation-back
Platform
Packages
Environment
The text was updated successfully, but these errors were encountered: