Skip to content

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

Closed
patrickoleary wants to merge 1 commit intomasterfrom
fix/return-key-active-buttons
Closed

fix: add Enter key to trigger active primary buttons#2
patrickoleary wants to merge 1 commit intomasterfrom
fix/return-key-active-buttons

Conversation

@patrickoleary
Copy link
Copy Markdown
Owner

@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.

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.

2 participants