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

extend modal 'closable' option #262 #3625

Closed

Conversation

larsbo
Copy link
Contributor

@larsbo larsbo commented Jan 29, 2016

to specify the exact closable behavior of a modal you can now set closable to click to allow closing only by clicking on the dimmer or you can set it to escapeKey to allow closing only by pressing the escape key.

to specify the exact closable behavior of a modal you can now set
closable to ```click``` to allow closing nnly by clicking on the dimmer
or you can set it to ```escapeKey``` to allow closing only by pressing
the escape key.
@csokun
Copy link

csokun commented Feb 2, 2016

+1

@jlukic
Copy link
Member

jlukic commented Feb 2, 2016

Makes sense, i'd reverse the logic in the PR though.

@jlukic jlukic added this to the 2.1.9 milestone Feb 2, 2016
@mdehoog
Copy link
Contributor

mdehoog commented Feb 19, 2016

This PR conflicts with #3396, I'd suggest merging that one first and then applying the logic for escape/click.

@larsbo
Copy link
Contributor Author

larsbo commented Feb 19, 2016

👍

not sure why I chose inverted logic 😄

@smartm0use
Copy link

@mdehoog I have forked version 2.2.7 and I did merge this PR without merging #3396. Was PR 3396 already included in 2.2.7 ?

@stale
Copy link

stale bot commented Feb 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 23, 2018
@stale stale bot closed this Mar 25, 2018
@larsbo larsbo deleted the extend-modal-closable-option branch July 10, 2020 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants