Cannot read properties of undefined (reading 'activeSurface')

Created on 26 May 2025, about 1 month ago

After updating to 2.0.0-alpha5:

Uncaught TypeError: Cannot read properties of undefined (reading 'activeSurface')
    at r.forceContentFinished (js_AUiF-umUqB2ut8phx…JAKMwD70R_Z:4:30753)
    at r.appendRunnable (js_AUiF-umUqB2ut8phx…JAKMwD70R_Z:4:29187)
    at r.createLibraryElement (js_AUiF-umUqB2ut8phx…JAKMwD70R_Z:4:27053)
    at new r (js_AUiF-umUqB2ut8phx…JAKMwD70R_Z:4:20817)
    at n.attach (js_AUiF-umUqB2ut8phx…JAKMwD70R_Z:4:13581)
    at H5P.newRunnable (js_fC6SHRk3l6uJ9Iz-8…JAKMwD70R_Z:2:16428)
    at HTMLDivElement.<anonymous> (js_fC6SHRk3l6uJ9Iz-8…VJAKMwD70R_Z:2:2485)
    at S.each (jquery.js?swojmm=:2:2976)
    at S.fn.init.each (jquery.js?swojmm=:2:1454)
    at H5P.init (js_fC6SHRk3l6uJ9Iz-8…VJAKMwD70R_Z:2:1168)

This error seems to be the reason for this problem:
https://www.drupal.org/project/h5p/issues/3526163 🐛 Missing iframe height after updating to newer version Active

Solution or patch needed.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇹Austria drupalfan2

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

Comments & Activities

Production build 0.71.5 2024