Skip to content

Shared element transition doesnt work with border radius #6244

Open
@jamesheavey

Description

Description

The shared element transition doesnt work correctly when transitioning from an element with border radius 100 to an element also with radius 100

Link to previous discussion with video

@MatiPl01 @piaskowyk

Steps to reproduce

add a shared element block as below on 2 screens and transition between them

<Animated.Image
    source={{ imageurl }}
    style={{
      width: "100%",
      height: "100%",
      borderRadius: 100
    }}
    sharedTransitionTag={`tag`}
/>

Snack or a link to a repository

https://github.com/MatiPl01/reanimated-set-border-radius-issue

Reanimated version

3.6.1 - 3.13.0

React Native version

0.73.1 - 0.74.3

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions