In one specific layout, I have multiple tabs and each tab shows different content/placeholders.
When I'm in Experience Editor mode, Sitecore shows all the "Add here" buttons even for the placeholders that are not visible at the moment.
Example (Experience Editor mode): I'm in tab 1 and click "Add a new component", Sitecore displays all the "Add here" buttons for tab 1, tab 2, etc...
I reckon that Sitecore "injects" those buttons in a way that doesn't matter if the content is not visible - it will always have the buttons no matter what. I'm using Sitecore 9 but I believe this behavior is for all Sitecore versions.
Any ideas how to avoid this?