TwicPics / components

A Web component library that brings the power of TwicPics to your favorite web framework.
MIT License
53 stars 2 forks source link

Filter effect from preview stays active after real image is loaded #11

Closed Kylyi closed 2 years ago

Kylyi commented 2 years ago

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:

Or both :)

Strift commented 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,

Kylyi commented 2 years ago

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.

mbgspcii commented 2 years ago

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.