Skip to content

fix: add Enter key to trigger active primary buttons#86

Closed
patrickoleary wants to merge 1 commit intoKitware:masterfrom
patrickoleary:fix/return-key-active-buttons
Closed

fix: add Enter key to trigger active primary buttons#86
patrickoleary wants to merge 1 commit intoKitware:masterfrom
patrickoleary:fix/return-key-active-buttons

Conversation

@patrickoleary
Copy link
Copy Markdown
Member

@patrickoleary patrickoleary commented May 1, 2026

New approach:
Uses local Vue @keyup.enter handlers on each dialog/panel to trigger the primary action on Enter/Return. Works regardless of which element has focus (text fields, checkboxes, table rows).

Panels handled:

  • File loading dialog → loads files or imports state file
  • State export dialog → saves/downloads state file
  • Variable selection drawer → loads selected variables

Each handler respects the same disabled conditions as its corresponding button.

closes #79

@patrickoleary patrickoleary requested a review from jourdain May 1, 2026 18:10
@jourdain
Copy link
Copy Markdown
Collaborator

jourdain commented May 1, 2026

integrated into #87

@jourdain jourdain closed this May 1, 2026
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.

Return key does not work for file loading/ state file download

3 participants