Virtual Tour: Page Jump if embedded via iframe
When a Virtual Tour activity is embedded via iframe at the end of a longer web page, the web page jumps directly down to the iframe when it loads. The exact behavior varies from browser to browser:
Firefox: Jumps directly to the iframe at the bottom when loading.
Chrome: As soon as a piece of the iframe becomes visible, the pages jumps down so far that the whole iframe is visible.
Edge: As soon as a piece of the iframe becomes visible, the page jumps down a bit and back again.
Here is a Test page where I embedded the demo tour.
Otacke maybe tracked down the problem to a JavaScript focus here, which does not seem to be necessary.
BV52
Fri, 02/26/2021 - 18:56
Permalink
Hi Stefan,Thank you for
Hi Stefan,
Thank you for reposting this. I created a bug report and you can follow the progress here.
-BV
otacke
Fri, 03/22/2024 - 14:41
Permalink
I have suggested a fix: https
I have suggested a fix: https://github.com/h5p/h5p-three-image/pull/92