Skip to content

[Bug] Policy approval submission does not persist when activated by keyboard #3564

Description

@filipenevola

Summary

The policy Submit for Approval action does not persist when the focused button is activated with the keyboard, while the same flow succeeds with a pointer click.

Reproduction

  1. Open a draft policy version.
  2. Select Publish.
  3. Choose an approver.
  4. Tab to the Submit for Approval button.
  5. Press Enter.
  6. Re-open the publish dialog and inspect the version/activity state.

Observed

  • The dialog closes, but the version remains Draft.
  • Re-opening the dialog shows Unassigned again.
  • No approval-submission activity is recorded.
  • Repeating the same flow and clicking Submit for Approval with the pointer succeeds: the version becomes Pending Approval and the activity log records the submission.

Expected

Keyboard activation of the focused button should perform the same submission as a pointer click and preserve the selected approver.

Environment

  • Google Chrome on macOS
  • Hosted Comp AI application

No organization identifiers or policy content are included in this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions