I'm assuming your talking about content that's temporarily hidden until a users clicks on a tab or other element to reveal the content. A Google representative recently announced that this type of content is likely to get discounted as they prefer to rank sites on the content that's readily available / visible to the user. If you're depending on that "hidden" content to help you rank then it's not likely being given full credit if any at all. However if it's auxiliary content or specifications that might be considered duplicate across other sites or other pages it might not be a bad idea to keep this in place.
Here's a link to an article about this... https://www.seroundtable.com/google-hidden-tab-content-seo-19489.html