Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

clip-path property not working when src is set dynamically on an Image #7690

Copy link
Copy link
Open
@Bidou44

Description

@Bidou44
Issue body actions

Environment
Update available for component nativescript. Your current version is 5.4.2 and the latest available version is 6.0.3.
⚠ Update available for component tns-core-modules. Your current version is 5.2.0 and the latest available version is 6.0.6.
⚠ Update available for component tns-android. Your current version is 5.4.0 and the latest available version is 6.0.1.
⚠ Update available for component tns-ios. Your current version is 5.4.2 and the latest available version is 6.0.2.

Describe the bug
using the clip-path css property when an Image is dynamically loaded is not working, for example like this <Image [src]="myAsset">

To Reproduce
Just add an image with an asset that is dynamically loaded [src] as source.

Expected behavior
The clip-path property should work as expected

Sample project

Additional context
My goal is to remove 10 pixels from each side of my image. It seems to work when the image is statically loaded but not when the source is dynamic. Not sure if there is a workaround for that? Also, can someone tell me if this problem was fixed in nativescript 6.0 ?

Metadata

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.