Closed djhi closed 10 years ago
Hmm.
Thanks for the issue. Can you please send me a sample repo. That'll help us to debug easily. In the meantime, I will see for any suspicious changes.
I think we found the issue. Let us work on a fix.
P.S. Actually @mnmtanish found it :)
I'll check asap :) Really great lib btw. Thanks a lot for this.
Hey, we just published a new version. I hope, that will fix your issue.
Confirmed. It works :)
Nice.
Arunoda Susiripala
@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda
On Fri, Jul 25, 2014 at 4:34 PM, djhi notifications@github.com wrote:
Confirmed. It works :)
— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/meteor-zones/issues/18#issuecomment-50135515 .
I had troubles to find this :)
When binding events on items inside an each helper, the context is modified by Zones. This is not the current item anymore.
I use reactive-modal, and when Zones is loaded, the buttons events don't work anymore because the datacontext is set to the template context instead of the current button. Removing Zones correct the problem.