How do you get parentData in template.dynamic?

{{#each someList}}
{{> Template.dynamic
template=“foo”}}
{{/each}}

Normally you can get parendData(1) in template foo but it does not seem to work.

Any help is greatly appreciated.

Thanks,
Hans

I’m using flow-layout with parentData and not experiment the same problem, can you leave the code snippet where you are using parentData?