Skip to content

ART: Shape doesn't apply opacity when fill are LinearGradient (Android only) #20383

Closed
@ikhilko

Description

@ikhilko

Environment:

OS: macOS High Sierra 10.13.6
Node: 9.11.1
Yarn: 1.7.0
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: expo/react-native#sdk-28.0.1 => 0.55.4

Description

ARTShape doesn't apply opacity on Android when fill type is LinearGradient. Worked pretty well on iOS.

Reproducible Demo

I prepared a demo showing this problem: https://snack.expo.io/@ikhilko/artshape-opacity-bug-while-using-lineargradient-fill

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions