Resize event for H5P iframes sometimes being skipped
Hello :)
I'm new to H5P and not very fluent with code/CSS so I was hoping someone could give me some advice.
I have an issue when loading a Moodle page containing H5P the resize event is sometimes skipped resutling the H5P element being too small and getting a scrollbar.
I can (somewhat) regularly get this to happen by loading the page, skipping to a new tab while it loads, then returning once it's finished loading.
I've attached two images (both of the same page) where in one, the resize event has run successully and in the other it hasn't.
This issue is occouring with both Chome and Firefox
I'm happy to give more infomation / screenshots - Just let me know!
Thanks for your time!
Senio