-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
component: dashboardteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: bugSomething isn't workingSomething isn't working
Description
Bug description
The confirmation modal for workspaces, variables, projects, SSH keys, and everywhere used in the dashboard, deletes the entry when pressing ENTER
even if cancel is focused by default.
Steps to reproduce
- Open a new workspace.
- From the workspace more actions menu, select
DELETE
and when the confirmation modal pressENTER
. - Notice that even if CANCEL was focused by default, the workspace is deleted
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
In case it helps, here's the component used under the hood:
export default function ConfirmationModal(props: { |
Cc @selfcontained @easyCZ because #16592 recently edited this file and could be related.
jakobhero
Metadata
Metadata
Assignees
Labels
component: dashboardteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp teamtype: bugSomething isn't workingSomething isn't working