dodona-edu / dodona

🧑‍💻 Learn to code for secondary and higher education
https://dodona.be
MIT License
70 stars 23 forks source link

Avoid unnecessary scrolling #5423

Closed pdawyndt closed 6 months ago

pdawyndt commented 8 months ago

The Python judge (not checked with other judges) has links to files used in test expressions. When clicking such a link, the file content is displayed in a popup window that is displayed near the top of the page:

image

However, the rest of the page scrolls when clicking the file link, which is not needed (and annoying).

Example: https://dodona.be/nl/courses/3355/series/36011/activities/1108125720/

BWindey commented 7 months ago

Possibly related scrolling issues I encountered:

jorg-vr commented 6 months ago

Thanks @pdawyndt and @BWindey for creating this issue

The Page-Back arrow issue was indeed related. It had already been bothering me for quite some time, so I am glad I finally took the time to find the cause and fix it thanks to this issue.