Skip to content

"enter" acts as "escape" in some dialogs; this seems unexpected #5696

@r10s

Description

@r10s
  • right tap a chat
  • select "delete" from the context menu
  • hit "enter" key

-> as the dialog disappears one would expect that the "delete" action, as being rightmost and outstanding button was confirmed.

but actually nothing has happened - which may lead to the situation that the user believes they deleted smth but actually did not.

i see the point that an accidental hitting of enter may be worse as well, and also the outstanding button is great, and no-focus-by-default is fine as well, all that should not change.

to fix the issue, i would just do nothing if "Enter" is hit and no button is focused.

that would make it clear to the user that no action was taken place - if they want to do nothing, they should hit "Escape" - and if they actually want to delete, hit "tab -> enter" or click the button

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions