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

Elevation does not animate when it is inside a view which animates its opacity (Android P) #23670

Closed
temhota opened this issue Feb 27, 2019 · 3 comments
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@temhota
Copy link

temhota commented Feb 27, 2019

🐛 Bug Report

What described in the title works in any Android but not on Android P. See the differences:

Android P:
5

Below Android P:
6

Code Example

https://snack.expo.io/@satya164/elevation-issue---android-p

Environment

    System:
      OS: macOS 10.14.3
      CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
      Memory: 137.99 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.6.0 - ~/.nvm/versions/node/v10.6.0/bin/node
      Yarn: 1.9.4 - /usr/local/bin/yarn
      npm: 6.1.0 - ~/.nvm/versions/node/v10.6.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23, 24, 25, 26, 27, 28
        Build Tools: 23.0.1, 23.0.3, 25.0.2, 27.0.3, 28.0.2, 28.0.3
        System Images: android-26 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5014246
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.58.4 => 0.58.4
@react-native-bot react-native-bot added the Platform: Android Android applications. label Feb 27, 2019
@hramos
Copy link
Contributor

hramos commented Feb 27, 2019

Can you fully fill out the template? (expected behavior, for example). It will help folks understand the issue better.

@leethree
Copy link

I've encountered the same issue. Also for "Below Android P" it doesn't work perfectly either. You can see a grey bordered square appear when the box is being animated.

image

The expected behaviour is that the shadow should fade with the view and the view should change uniformly.

@hramos I think the bug report is clear enough and very easy to understand.

@satya164
Copy link
Contributor

Duplicate of #23090

@satya164 satya164 marked this as a duplicate of #23090 May 30, 2019
@facebook facebook locked as resolved and limited conversation to collaborators May 30, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants