Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Allow custom handler for clicks outside modal #10

Open
lemonad opened this issue Aug 26, 2021 · 1 comment
Open

Allow custom handler for clicks outside modal #10

lemonad opened this issue Aug 26, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed PR welcome

Comments

@lemonad
Copy link

lemonad commented Aug 26, 2021

When clicking outside the modal, it is automatically closed, which is probably what most people want. In my particular use case though, I don't want users accidentally closing the modal since it is showing the progress of a software update.

It would be nice if it was configurable, preferably by being able to pass a custom handler for clicking outside the modal.

@xstevenyung xstevenyung added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed PR welcome labels Sep 8, 2021
@xstevenyung
Copy link
Owner

Totally agree with this. Would be totally open for a PR 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed PR welcome
Projects
None yet
Development

No branches or pull requests

2 participants