SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.18k stars 224 forks source link

Use the new way for AnimatedImageViewWrapper, fix the transition visual jump between placeholderImage and final image #325

Closed dreampiggy closed 3 months ago

dreampiggy commented 3 months ago

This close the issue during the changes of #324

dreampiggy commented 3 months ago

The private API wrapped is exposed by accident. So I'd decide to remove this. People who previouslly use onViewCreateBlock does not get effected

dreampiggy commented 3 months ago

Found serious regression on macOS. That _NSImageViewSimpleImageView no longer exists and cause SDAnimatedImageView animation buggy.

Close for now and use another workaround

dreampiggy commented 3 months ago

image

compared to previous version: image