simplajs / simpla-img

An editable image you can update inline, built on Simpla
https://www.simplajs.org
MIT License
6 stars 3 forks source link

Editor flickers when changing images #45

Open bedeoverend opened 7 years ago

bedeoverend commented 7 years ago

The editor flickers when changing between items of different UID. This is most likely due to the complex observers being using the image-handler behavior. Instead of these observers, we should manually fire / listen to events so that the editor changes it's src at the correct time, and ensures it's hidden until that point.

madeleineostoja commented 7 years ago

FWIW I've never been able to repro this - is it still an issue with 1.0?

bedeoverend commented 7 years ago

@seaneking yeah I'm still getting this occasionally. Try it with the demo page - upload an image into one, then go to another image to edit / go back and forth between two images. That's a pretty consistent repro for me. It'll also sometimes carry over the cached image I believe.