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

URLImageSourceView (SwiftUI) is fading in when affected by animation #9

Open
melgu opened this issue Aug 17, 2020 · 1 comment
Open

Comments

@melgu
Copy link

melgu commented Aug 17, 2020

This shouldn't happen.
It doesn't matter if isAnimationEnabled is set to true or false.

Example:

URLImageSourceView(
	imageUrl,
	isAnimationEnabled: false,
	label: Text("title")
)
.animation(Animation.linear(duration: 1).repeatForever(autoreverses: false))
@davbeck
Copy link
Owner

davbeck commented Aug 17, 2020

isAnimationEnabled applies to animated GIF/PNG images, not SwiftUI animation. Why it is fading in, I don't know.

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

2 participants