Skip to content

Flicker during this._image.src switch ... #1

@scooterw

Description

@scooterw

There is a noticeable flicker during the switching of this._image.src. This transition period is made much longer when render / return times from the remote server are longer. To "fix" this, we move the repositioning of the image to the image onload event. This creates a VERY brief flicker, where you see the old image for a moment.

To eliminate this flicker, we could introduce a new image element that is populated and swapped programmatically. I'm not entirely certain that this is a good idea, but I am going to try this and see how it works out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions