Skip to content

[Shimmer] Effect not visible on light backgrounds #20

Description

@MrSnoozles

I noticed that using @nstudio/nativescript-shimmer the shimmer effect is visible on dark backgrounds, but not on bright backgrounds. This happens on Android, I haven't tested iOS yet.

Example

The markup I use is below. That results in the Shimmer effect being visible on the black and red element, but not on the light gray ones.

<Shimmer>
    <StackLayout>
        <ContentView width="300" height="50" class="bg-gray-200" />
        <ContentView width="300" height="150" class="bg-gray-900" />
        <ContentView width="300" height="50" class="bg-red-400" />
        <ContentView width="300" height="50" class="bg-gray-100" />
    </StackLayout>
</Shimmer>
1698420520195.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions