The section containing "Image sequencing" load first...

Franko's picture

Hello,

I am making a page with various activities: course presentation, speak set the words, image sequencing, etc. The problem is that when the page load it directily appears the section containing "Image sequencing"... So I have to scroll up to see the first part of the page. Can you give me some ideas please about what could be causing this problem? One thing, when I delete "Image sequencing" the page load normally, from up to bottom. Thank you so much in advance for your support or information.

Franko

Franko's picture

Hi

BV52's picture

Hi Franko,

Would you mind providing a test site?

-BV52

Franko's picture

Hi BV52,

I send you this test site. To see the problem, please wait all the content of the page load and you will see that it goes directly to the part of "Image sequencing".

https://frcb.online/troisieme/

Thank you so much for your help.

Franko

Franko's picture

So... 

BV52's picture

Hi Franko,

Sorry for the late response. I've sent the case to the core team for further investigation. I can see the issue but personally I can't find what is causing it.

-BV

otacke's picture

I assume it's this line setting the focus to the first element, causing the browser to jump to the element's location: https://gitlab.com/icfoss/H5P-ImageSequencing/blob/1.1.0/scripts/h5p-image-sequencing.js#L571