Skip to content

Add option to specify container element for the modal#474

Merged
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
genadis:modal-container
Aug 1, 2019
Merged

Add option to specify container element for the modal#474
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
genadis:modal-container

Conversation

@genadis
Copy link
Copy Markdown
Contributor

@genadis genadis commented Aug 1, 2019

We don't always want to append to modal to the body, in some cases we need it to be child of other container element. (for steps we have appendTo tippy option).

* @param {boolean} options.useModalOverlay Whether or not steps should be placed above a darkened
* modal overlay. If true, the overlay will create an opening around the target element so that it
* can remain interactive
* @param {HTMLElement} options.modalContainer Optional container Element for the modal.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I will document it, no worries!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks!

@RobbieTheWagner RobbieTheWagner changed the title add option to specify container element for the modal Add option to specify container element for the modal Aug 1, 2019
@RobbieTheWagner RobbieTheWagner merged commit 0173483 into shipshapecode:master Aug 1, 2019
@genadis genadis deleted the modal-container branch August 1, 2019 15:26
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.

2 participants