Backbone component functionalities are not working fine in Preview Mode, when target is enabled
Hi team,
After enabling the Target in our AEM environment, our Backbone created component functionalities (like Click events...) stopped working.
Then, in one of your forum replies, it is mentioned to invoke TNT.createGlobalMbox() method after our backbone file.
We've included the below code at the bottom of our page:
$(document).ready(function(){
TNT.createGlobalMbox();
});
Issue:
- Our Backbone components are working occasionally. Sometimes, it is working fine. Sometimes, it is not working.
- The same page, when target mode is disabled, then our components are working fine.
- The components are rendered correctly, but events are not working fine.
Please help to resolve this issue, as this issue is blocking our work.