Skip to content

zIndex lose effectiveness after upgrade RN from 0.48.0 to 0.53.0 on android #17907

@sejo2016

Description

@sejo2016

Packages: (previous => current)
react-native: 0.48.0 => 0.53.0
react: 16.0.2-alpha.12 => 16.2.0

Target Platform: android 8

Steps to Reproduce

After update the RN version from 0.48.0 to 0.53.0,zIndex lose effectiveness on android.what should I do to fix this difference?

<Animated.View key={index} style={[style.card, cardStyle, {
                    zIndex,
                    top,
                    transform: [{scale}]
                }, currentIndex === index && animatedStyle]}>
...
</Animated.View>

Expected Behavior

image

Actual Behavior

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions