Skip to content

Pressing Enter in Apollon Editor Input Fields Opens Help Modal Instead of Submitting Changes #9641

@egenerse

Description

@egenerse

Describe the bug

In the UML editor, selecting an element on the canvas brings up an edit popup with input fields. When a user fills in one of these input fields and presses Enter, the help modal appears, disrupting the editing process. The expected behavior is for Enter to submit the input without opening the help modal.

To Reproduce

  1. Go to Create Modeling Exercise for a course, URL like http://localhost:9000/course-management/1/modeling-exercises/new
  2. Scroll down to the Solution section
  3. Add a class element to Canva
  4. Select the newly added elements and click the pen icon to open the edit popup
  5. Select any input field and press enter
  6. You will see help modal

Expected behavior

Clicking enter should not open the help modal

Screenshots

artemisModellinExerciseHelperModal.mov

Which version of Artemis are you seeing the problem on?

7.6.5

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions