Skip to content

close modals clicking outside - #65

Merged
jospueyo merged 1 commit into
mainfrom
close-modal-outside
Jul 30, 2026
Merged

jospueyo merged 1 commit into
mainfrom
close-modal-outside

Conversation

@jospueyo

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds “click outside to close” behavior for the scenarios and info modals in the app’s main Vue template, improving modal usability without changing underlying modal state management.

Changes:

  • Close the “Scenarios” modal when clicking on the backdrop (outside the dialog) by wiring the backdrop click to the existing closeModalScenarios handler.
  • Close the “Info” modal when clicking on the backdrop by setting openModalInfo = false on backdrop self-click.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jospueyo
jospueyo merged commit b08f134 into main Jul 30, 2026
1 check passed
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