bootstrap-3-modal icon indicating copy to clipboard operation
bootstrap-3-modal copied to clipboard

Template.parentData() returns null

Open willrbc opened this issue 9 years ago • 1 comments

Is this package removing the template from the normal template hierarchy?

Template.parentData(x) returns null for any value of x

willrbc avatar Feb 10 '16 10:02 willrbc

The template (the modal) is rendered and inserted into the the <body>-element with Blaze.renderWithData. As far as I know, all the normal Meteor stuff should work as usual, although I haven't used Meteor myself for ~1 year, so they may have made changes I'm not aware of.

But to answer your question, the modal template shouldn't have a parent template, since it's inserted into the <body>-element directly.

PeppeL-G avatar Feb 10 '16 11:02 PeppeL-G