We have an flexipage/app which have 5 lightning components on it. Out of these 5, 3 are lightning component and 2 are visual force pages embedded inside lightning component.
I went through https://developer.salesforce.com/blogs/developer-relations/2017/01/lightning-visualforce-communication.html and I am posting events and catching the events on the cards. This works perfectly when a single tab is opened on the lightning console app.
But when multiple tabs are opened with different data, the first tab reloads and posts the event
Has anyone faced this issue till now?
If there is a way to postMessage to a particular tab or subtab then it would be helpful.