-
Notifications
You must be signed in to change notification settings - Fork 183
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
destinationElement
null or undefined exception
#614
Comments
I am getting the same error when using named blocks. |
Can you write a reproduction on a test? This is probably easy to fix with a repro on a test. |
I am getting the error using a very basic dropdown directly in the application.hbs.
|
Reverting to |
Is there a solution outside of |
Also seeing this error. |
Ran into this as well. Based on this and cibernox/ember-power-select#1354, I was able to get this workaround going in tests.
|
I encountered this error while updating ember-cached-decorator-polyfill from 0.1.4 to 1.0.1 in our app. I was able to track it down to this issue emberjs/ember-classic-decorator#99. If you are still experiencing this issue, check if you have ember-classic-decorator in your dependencies. |
There may be other ways to trigger this, but you will definitely see the issue if you use this in conjunction with Ember Power Select. Create a new app and add the following respectively to your application controller and application template
@initiallyOpened={{true}}
is the issue here. I traced the issue down to this line: https://github.com/cibernox/ember-basic-dropdown/blob/v3.0.17/addon/templates/components/basic-dropdown-content.hbs#L4this.destinationElement
is null at this moment and will throw when attempting to render intoember-basic-dropdown-wormhole
DOM element since that is rendering later in DOM ordor (at the end of the page)I took at stab at updating to ensure
destinationElement
is populated but not sure if this will cause any additional issues. Perhaps someone with a bit more intimate knowledge here will be able to advise.this is related to cibernox/ember-power-select#1354
The text was updated successfully, but these errors were encountered: