Open mervynteo opened 8 years ago
Try wrapping your view in a subReady if statement.
{{#if Template.subscriptionsReady}}
{{#ionView}}
{{#ionContent}}
{{#ionList}}
<div>
{{#each shops}}
{{> shopItem}}
{{/each}}
</div>
{{/ionList}}
{{/ionContent}}
{{/ionView}}
{{/if}}
Hi,
I'm also experiencing this issue. I've tried wrapping my code with the subscriptionReady but doesn't work. In my case the problem occurs inside the 'ionSideMenuContent' block but not inside the 'ionSideMenus' Any workaround?
Thanks
@iuraya unfortunately, I suspect that the error is because the package is now deprecated, Many of its Blaze dependent components now affect the way items are being inserted into lists. I have ripped out the package entirely.
In my case, remove ionNavView from the master layout solve the issue. I don't need the transition animation.
i think the bug is in the source code of it: (Line 31~49) https://github.com/meteoric/meteor-ionic/blob/master/components/ionNavView/ionNavView.js
I also find that @JoeyAndres do some change on his fork, maybe you want would like to try it. https://github.com/meteoric124/meteoric/blob/69a85179c852686ff977802a1b3c361b7c916ef3/components/ionNavView/ionNavView.js
I have 2 mainly tabs, a list tab, a sort list tab and a profile tab. The error used to be for all 3 tabs until i switched to a onCreated from onRendered. Currently, if I go from profile to sort tab, error remains. But from list tab to sort it works fine, but only after the location is loaded.
Wrapping the {{# each}} or {{# if}} does not work unfortunately in my case.
SO Link there to the issue. http://stackoverflow.com/questions/35017820/error-failed-to-execute-insertbefore-on-node