-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
[Missing information - dialog] ember-wormhole failed to render into '#paper-wormhole' #630
Comments
@Juraci We do have a cookbook section, that I think fits this info: http://miguelcobain.github.io/ember-paper/release-1/#/cookbook |
Nice I will work on a PR for that. |
We now wormhole to a special container if on testing, so this shouldn't be an issue anymore. Relevant commit: |
@miguelcobain I'm running an ember acceptance test that attempts to render the dialog on a click event:
The render fails:
|
While creating a integration test for a dialog that was wrapped by my own component I got this error:
Error: ember-wormhole failed to render into '#paper-wormhole' because the element is not in the DOM
Could not find any issue or documentation on why this was happening for the Dialog component in particular.
By reading these tests I learned that for the Dialog tests to work properly I need to manually add this element
<div id="paper-wormhole"></div>
to my component test. Then it started to work fine.Would be nice to have a place in the documentation with those special cases, something like "tips and tricks". I'm adding this issue hoping to help anyone that might have stumbled on the same problem.
The text was updated successfully, but these errors were encountered: