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

Add appendTo to Dialog to control Teleport #1440

Closed
wants to merge 1 commit into from

Conversation

dpogue
Copy link

@dpogue dpogue commented Aug 11, 2021

It appears Dialog was missed in the fixes for #1148

We're having trouble with unit tests for components that involve Dialogs, due to the dialog content being teleported outside of the component. The common advice from vue-test-utils is to use another internal component, but that interferes with the ability to use slots in the Dialog.

This should allow us to set appendTo="self" during unit tests, to disable the teleporting behaviour.

@mertsincan
Copy link
Member

Oops! So sorry :( I have not seen this PR. Fixed in #1483

Unfortunately, I have to close this PR. Sorry again.
Best Regards,

@mertsincan mertsincan closed this Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants