{"section":"known-issues","requestedLocale":"en","requestedSlug":"disclosure-layout-cant-be-used-properly-when-prop-animated-is-set-as-true","locale":"en","slug":"disclosure-layout-cant-be-used-properly-when-prop-animated-is-set-as-true","path":"docs/en/known-issues/Store Framework/disclosure-layout-cant-be-used-properly-when-prop-animated-is-set-as-true.md","branch":"main","content":"## Summary\n\n\nThere is an issue in disclosure layout that is only triggering the block to show, but it's not closing. This is caused by prop animated, that is not working properly when set in disclosure layout and doesn't allow to hide the element after opening.\n\n\n\n## Simulation\n\n\nGo to any store using disclosure-layout with prop animated as true.\nTry to show and hide the element.\n\nThe content can't be hidden.\n\n\n\n\n## Workaround\n\n\nAdd the following handle in styles, this should avoid the issue in animation because the class is being changed:\n\n    .vtex-disclosure-layout-1-x-content--search-description-content--hidden \\{display: none;\\}"}