mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.23k stars 721 forks source link

Accessibility tabbing to hotspots causes a partial or fully white screen #1120

Closed patrickgates closed 1 year ago

patrickgates commented 2 years ago

In my test case I'm using a multiRes, and anytime I tab and it focuses a on a hotspot that is just out of frame, anything that wasn't previously loaded is no longer visible, and if it goes fully white, the grab container is gone as well.

It even happens right on the front page of pannellum.org. If you load that site and tab, the second tab when focused on the Panorama will reveal half of the image loaded on the left, and the other half showing the loading/null texture.

This is in Chrome v105.0.5195.125

Screen Shot 2022-09-20 at 2 15 49 PM
mpetroff commented 1 year ago

This was a Chrome-specific issue (it wasn't worth the effort of tracking down which Chrome version introduced the issue, but I think it started relatively recently).

I disabled tabbing to the hot spots in 929ec8f11c123870a95a3706b348f13722543727 to fix this. This isn't a great fix, but as mentioned in #628, I don't have a good idea as to how to handle hot spots with tab.