Skip to content

Support form modal can be closed without prompt when pressing ESC, making you lose all progress #9564

@Venefilyn

Description

@Venefilyn
  • This is not a feature request (existing functionality does not work, not missing functionality).
    I will request features on forum or via support.
  • I've searched and did not find a similar issue.

Bug in web app

Describe the bug
Only tested with Support->Other form.

Within modals that have a form that you have entered details into, you get the "Are you sure you want to go back? Your request will be lost." when pressing back. When pressing the backdrop (darkened background behind modal) it also remains open and doesn't close the modal.

However when pressing Escape with filled out form it still closes the modal without a prompt. Which will in turn reset all your progress as when you go to the form again it is blank.

To Reproduce
Steps to reproduce the behavior:

  1. Click show help button in icon sidebar
  2. Go to Support and select any category that has an 'Other' support type
  3. Enter in text in the textarea
  4. Press escape and the modal closes

Expected behavior
"Are you sure you want to go back? Your request will be lost." should be shown and pressing escape again should close it as an indication of confirmation.

Actual behavior
Modal closes without prompt.

Desktop (please complete the following information):

  • OS: Fedora-based Linux distro
  • Browser LibreWolf (Firefox), not tested in other browsers.
  • Version v142.0-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbroken functionality, usability problems, unexpected errors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions