yapplabs / ember-wormhole

Render a child view somewhere else in the DOM.
MIT License
284 stars 68 forks source link

[Regression 0.5.3 to 0.5.4] Toggling renderInPlace #104

Closed offirgolan closed 5 years ago

offirgolan commented 6 years ago

I just noticed a regression going from v0.5.3 to the latest (v0.5.4). Toggling renderInPlace in the latest version only works the first time. Once the content is rendered in place, it can no longer be wormhole'd out.

I've created a twiddle to demonstrate this. Just click on the toggle button a few times and you'll see what I mean. If you switch the addon version to 0.5.3, it will work as expected.

Ember Twiddle