ls1intum / Artemis

Artemis - Interactive Learning with Automated Feedback
https://docs.artemis.cit.tum.de
MIT License
452 stars 275 forks source link

`Exam Mode`: Text Exercise Problem Statement collapses when clicking on any part of the element #8899

Open BBesrour opened 2 days ago

BBesrour commented 2 days ago

Describe the bug

In a text exercise in exam mode, the problem statement section collapses when clicking on any part of the element (even when selecting text)

To Reproduce

  1. Create exam with text exercise
  2. Participate as student
  3. Click on the text of the problem statement

Expected behavior

Problem statement is only collapsable when clicking on the arrow or the element header (the blue section)

Screenshots

No response

Which version of Artemis are you seeing the problem on?

7.3.1 - Commit Hash: 4168203

What browsers are you seeing the problem on?

Microsoft Edge

Additional context

This is not present in a non-exam graded text exercise. Also not present in exam programming exercise

Relevant log output

No response