internetarchive / internetarchive/bookreader
White screen while loading new image during zoom in Firefox
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 491
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 3
Description
**Description**
When loading a higher resolution image during zooming, firefox displays a big ol' white screen while the image loads in. Should instead display the new image over the old, lower res image. However the events we listen to, ie onloaded, fire at the wrong time, and the background is _white_ not transparent, so we can't have an image underneath. Maybe we can do something with blend modes? Or maybe this is a bug to open in FF, that the bg should be transparent?
https://user-images.githubusercontent.com/6251786/134944902-26b0462d-ac41-4e1b-aa80-64bf819b85c4.mp4
> What problem are we solving? What does the experience look like today? What are the symptoms? How can one reproduce the problem?
**Evidence / Screenshot (if possible)**
> Include evidence of the problem or provide a screenshot.
**Expectation**
> What should be happening? What will it look like / how will it behave when fixed?
**Context**
> What operating system? What browser type and version?
**Proposal & Constraints**
> What is the proposed solution / implementation? Is there a precedent of this approach succeeding elsewhere?
**Stakeholders**
> @-tag any stakeholders of this bug
Contributor guide
Assessment
This issue has not been assessed yet.