Comments (6)
@IgorKvasn thanks for this report. Please try the branch in #372 and let me know if it works in your app. I would love to add test coverage so that we don't regress on this again. I don't use engines or know much about testing compatibility though, so any help is welcome.
from ember-modal-dialog.
I tried the branch #372 and it does not seem to work :( I am getting error
Uncaught Error: Assertion Failed: Could not find the root Application for '<(unknown):ember227>'.
at assert (index.js:181:1)
at Object._default [as initialize] (add-modals-container.js:39:1)
at index.js:140:1
at Vertices.each (dag-map.js:231:1)
at Vertices.walk (dag-map.js:145:1)
at DAG.each (dag-map.js:75:1)
at DAG.topsort (dag-map.js:83:1)
at Class._runInitializer (index.js:155:1)
at Class.runInstanceInitializers (index.js:138:1)
at Class._bootSync (instance.js:111:1)
I did a little bit of debugging and it seems that this "if" condition does not pass
I can see in the debugger, that instance
is in fact instance of Application, but instanceof does not seem to pass - I am sorry, I don't know how to fix it :(
from ember-modal-dialog.
I think that check fails because it's an ApplicationInstance
instead of an Application
? In #315 it was still a normal initializer.
Other than that I have no input since I haven't worked with Engines yet either 😄.
from ember-modal-dialog.
@IgorKvasn I've adjusted #372. Please give it another try.
from ember-modal-dialog.
thanks a lot - it works with (lazy) engines as well as normal Application
from ember-modal-dialog.
Thanks, merged. This will be in 4.0.0-beta.1
from ember-modal-dialog.
Related Issues (20)
- error get onClose HOT 2
- `.emd-wrapper-target-attachment-center .ember-modal-dialog` is missing `position: absolute`
- ember-animated integration examples? HOT 2
- Does this work with Embroider? HOT 15
- Breaks in Ember 3.22 HOT 2
- Deprecation warnings with Ember 3.26+ HOT 5
- Issue with ember 3.27 HOT 6
- Update ember-wormhole to v0.6.0
- Ember v3.27: Exception on Ember.computed.reads (liquid-wormhole) HOT 4
- Use of old addon https://github.com/ef4/ember-ignore-children-helper
- Release of 4.0.0? HOT 3
- Convert to v2 addon
- Ember 3.26+: TypeError: this.overlayClassNames?.join is not a function
- tarball data corrupted? HOT 1
- Ember 3.28: TypeError: this.containerClassNames.join is not a function HOT 1
- Update to ember-tether 3.0.0 HOT 6
- 4.1.3 - need to wait until modal overlay is opened (in test) HOT 1
- not able to stub router service in tests HOT 1
- Access to `navigator` in module scope crashes Fastboot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-modal-dialog.