Using H5P-fullscreen mode did not set focus on h5p game, instead browser jumps to top

Created on 18 December 2024, 4 months ago

Problem/Motivation

Using H5P-fullscreen mode did not set focus on h5p game, instead browser jumps to top. It should be stay at the h5p element.

Steps to reproduce

* using drupal 10.3.10, drupal/h5p version 2.0.0-alpha4, with h5p/h5p-core 1.24.4
* create node with h5p content
* save and open
* open h5p game in fullscreen
* close
* result: browser now shows top of page, focus not on h5p game

Manually changed version to h5p/h5p-core 1.27 did not solve the problem for me.

Proposed resolution

Using H5P-fullscreen mode did not set focus on h5p game, instead browser jumps to top. It should be stay at the h5p element.

Remaining tasks

* Using same h5p content type on h5p.org: https://h5p.org/image-hotspots has no problem to set position on the element
* try using new version of h5p-core

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany internetter Erfurt, Thüringen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024