Closed Kylyi closed 2 years ago
Hello @Kylyi,
Thanks for opening a issue!
The team has started thinking about this issue, although it can be prioritized right away. We'll get back to you as we have more progress on this.
Also, what is your use case for wanting to remove the background image (which is invisible anyway)?
Thanks,
Hi @Strift,
no worries, I've handled it on my side via component lifecycle events for now.
Anyway, my use-case is quite simple - I have an image that has transparent background. When I load the imag via your custom component, the filter effect (from the preview) stays active even after the image is loaded which doesn't look good (IMO) in this scenario.
Hi @Kylyi. Thank you for this anomaly. Very interesting case which should be corrected with the latest version of the components. Warning, this is a beta version: 0.9.0-beta.0.
Hope it helps.
Best regards.
I'm using the Vue3 component to render my images. While I love that it handles the
output=preview
for me, the filter effect stays active even after loading the "real" image.I'd suggest either:
onLoad
event that triggers after the "real" image is rendered (so we can manually remove the background)keepPreview
(or some more suitable name :)) that handles automatic remove of the backgroundOr both :)