11 Commits

Author SHA1 Message Date
George Drummond
b9c0f13228
Fix modal freezing fix 2019-06-04 09:55:57 -04:00
dandds
457b1f9523 Detangle the MultiStepModalForm modal-open link from the modal.
In order to place modal forms in other places on the page (so that forms
are not nested) it's necessary to move MultiStepModalForm links out of
the component. They just need to refer to the correct modal.

This PR also makes changes to ensure that the active modal is being
unset everywhere correctly when a modal is closed.
2019-05-08 11:16:56 -04:00
leigh-mil
1e6d26de82 Emit event from root when modal closes 2019-04-10 07:42:07 -04:00
leigh-mil
85c99182f7 Refactor modals so they work when nested in other components and fix BaseForm so it doesn't repeat ModalMixin logic 2019-04-08 09:42:35 -04:00
George Drummond
619bc9fe59
Prettier format all js files 2019-01-24 09:38:43 -05:00
Andrew Croce
c0719ce85f maintain focus on open modals 2018-10-18 10:01:07 -04:00
Montana
95d826be09 All modals use activeModal 2018-09-25 11:13:23 -04:00
Montana
c0bb9e1024 Modal for each environment role 2018-09-25 11:13:22 -04:00
Andrew Croce
27b03eea04 Emit and respond to a modalOpen event, which conditionally adds a class to the body 2018-09-20 13:45:16 -04:00
luis cielak
fbffc41cb6 Rename modal and remove dismiss functionality 2018-08-27 14:39:47 -04:00
Patrick Smith
180cedf6db Add global mixin for modal
This allows the modal to be used anywhere in the component hierarchy,
rather than requiring it to be in the top level.
2018-08-23 16:15:35 -04:00