From b69be281f38f65e42bf7c71ae6bddc4690429a89 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 28 Sep 2025 13:01:50 +0200 Subject: [PATCH] FIX: remove comment tag; enhance image loading behavior in ProgressiveImage and ImageViewer components - Added a key to the ProgressiveImage component to ensure proper reactivity when the image source changes. - Implemented a watcher in the ProgressiveImage component to reset loading state on source changes, improving user experience during image transitions. These changes enhance the reliability and responsiveness of image handling in the application. --- src/components/ui/image/ImageViewer.vue | 1 + src/components/ui/image/ProgressiveImage.vue | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/ui/image/ImageViewer.vue b/src/components/ui/image/ImageViewer.vue index 9259a15..c0e0220 100644 --- a/src/components/ui/image/ImageViewer.vue +++ b/src/components/ui/image/ImageViewer.vue @@ -3,6 +3,7 @@
--> + ]" :loading="loading" @load="handleLoad" @error="handleError" />
@@ -37,7 +37,7 @@