Skip to content

Conversation

@pablonification
Copy link

Adds mouse interaction support to the permission prompt (Allow once / Allow always / Reject) for consistency with other interactive elements like slash command selection.

Previously, users could only navigate permission options using keyboard (arrow keys + enter). This makes it inconsistent with other UI elements that support mouse interaction.

  • Add onMouseOver handler to highlight option on hover
  • Add onMouseUp handler to select option on click

Follows the same pattern used in autocomplete.tsx for slash command selection.

Fixes #7966

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permission prompt doesn't support mouse interaction

1 participant