Skip to content
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

React Native 77 Android Surface Shadow #4618

Open
iM-GeeKy opened this issue Feb 2, 2025 · 2 comments
Open

React Native 77 Android Surface Shadow #4618

iM-GeeKy opened this issue Feb 2, 2025 · 2 comments
Labels

Comments

@iM-GeeKy
Copy link

iM-GeeKy commented Feb 2, 2025

Current behaviour

When upgrading to react native 77, on android, surface shadows appear to be distorted as opposed to them looking correct when using a lower version such as react native 76.6.

Expected behaviour

Surface shadows should look and behave in the same way as previous versions of this library.

How to reproduce?

1 The working branch with react native version 76.6

  • Run eas build --profile android-development-client --platform android --local --clear-cache.
  • b. Run npm run start.
  • Type a for android.

2 The issue branch with react native version 77

  • Run eas build --profile android-development-client --platform android --local --clear-cache.
  • b. Run npm run start.
  • Type a for android.

Preview

React Native 76.6 (Correct) React Native 77 (Incorrect)

What have you tried so far?

After doing some digging it appears the Surface component is responsible for this behavior when upgrading to react native 77.

Your Environment

software version
ios 18.2
android 14.0
react-native 77.0
react-native-paper 5.13.1
node 22.13.1
npm or yarn npm
expo sdk 52.0.28
@iM-GeeKy iM-GeeKy added the bug label Feb 2, 2025
@iM-GeeKy
Copy link
Author

iM-GeeKy commented Feb 3, 2025

It appears it may be an upstream issue.

@Smit-Kadawala
Copy link

any update i am also get this problem? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants