Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#567 - Confirm closing of certain dialogs when clicking in the overlay area #568

Merged
merged 12 commits into from
Jul 19, 2022

Conversation

pjmonks
Copy link
Contributor

@pjmonks pjmonks commented Jun 22, 2022

Fixes #567

For certain dialogs which allow a user to enter input, this PR now wraps those around the EditingService to ensure that, if the user clicks outside the dialog (the overlay container), the user must confirm if they want to close the dialog before continuing.

Whilst fixing these files, I have also worked through the eslint warnings in them to make them pass linting rules.

@pjmonks pjmonks requested a review from jamesrwelch June 22, 2022 09:50
Copy link
Contributor

@jamesrwelch jamesrwelch left a comment

Choose a reason for hiding this comment

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

This works really nicely - thank you! (and also thanks for fixing my messed-up merge)

@jamesrwelch jamesrwelch merged commit c0efd85 into develop Jul 19, 2022
@jamesrwelch jamesrwelch deleted the feature/gh-567 branch July 19, 2022 09:08
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.

Modal dialog closing when you click outside
2 participants