-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
A form inside the modal, for example, will be useless because any click inside the modal will close it immediately. For any practical use besides a simple "click LITERALLY anywhere to close" msg popup, you need to remove the modal frame from within the background.
{{#if enabled}}
<div {{action 'toggleModal'}} class="modal-background"></div>
<div class="modal-frame">
<div class="modal-title">
{{title}}
</div>
<div class="modal-body">
{{yield}}
</div>
</div>
{{/if}}
At least, I couldn't find any other practical way to stop the child's click from bubbling.
Thanks for the tut. The "expose" bit was exactly what i needed.
Metadata
Metadata
Assignees
Labels
No labels