Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeleton.shade different behaviour on Flutter Web Safari #47

Open
sidlatau opened this issue Dec 14, 2024 · 0 comments
Open

Skeleton.shade different behaviour on Flutter Web Safari #47

sidlatau opened this issue Dec 14, 2024 · 0 comments

Comments

@sidlatau
Copy link

I see the code below behaves differently on Chrome and Safari:

Skeletonizer(
  child: Skeleton.shade(
    child: SearchCard(
      request: ApiRequest.fake(),
      onTap: () {},
    ),
  ),
)

On Chrome (and mobile apps) it looks as expected:
image
But on Safari all fake data is visible, skeletonizer is not applied:
image

If I change Skeleton.shade to Skeleton.leaf, it works correctly in Safari. I did not anticipate any difference in behaviour between Safari and Chrome. Is this expected, or could it be a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant