Virtual Tour 360 - Content jumps into focus

Description

In a page where the Virtual Tour 360 is not at the top once it loads the page jumps down to focus on the content.

Issue is reported here: https://h5p.org/node/1115279

Test content: https://www.richtberg.org/test-page-embedded-virtual-tour/

Environment

Tested on the following browsers:

Chrome 88.0.4324.190 (Official Build) (64-bit)
Edge 88.0.705.74 (Official build) (64-bit)
Firefox 86.0 (64-bit)

Acceptance Criteria

None

Attachments

1

Activity

Nic Brönnimann January 19, 2025 at 2:59 PM
Edited

I have the same Problem but i can't find the files to change the code. I use Wordpress but in the Plugin Editor i can’t find t same File structure. is there someone who can esplain me where i can find the files?

Kind Regards Nic

Vegulla Gouthami November 11, 2024 at 9:23 AM

Tested on Knask:

Tested by Embedding the Virtual Tour content in Canvas by adding it at the bottom of the page, focus is not on the content

Verified in Chrome, Firefox and Edge browsers.

Navigating the content works as before.

Maris Akmentins November 8, 2024 at 9:16 AM

The fix looks good! Focus isn’t being stolen on page load neither on 360 nor static scenes now, and works as previously while navigating the content.

Ready for testing on Knask.

Vilde Stabell October 7, 2024 at 2:09 PM

I have tried changing version with nvm (and other troubleshooting like reinstalling the repo) with no luck. It’s only on my end though, others were able to build it fine. So I’ll probably just ask someone else to check the pr when we’re both in the office

Oliver Tacke October 7, 2024 at 1:59 PM
Edited

The build chain is quite outdated, and I assume you are running a modern version of node.js. Have you tried to use the node version manager ( ) to temporarily switch to an older version (likely 18 or 16) or to update the build chain (modules)?

Done

Details

Assignee

Reporter

Code reviewer

Sprint

Tester

Priority

Created February 26, 2021 at 5:55 PM
Updated January 19, 2025 at 2:59 PM
Resolved November 11, 2024 at 9:23 AM