# Seções recolhidas na barra lateral móvel não expandem ao mudar de visualização

**URL:** <https://meta.discourse.org/t/collapsed-sections-in-mobile-sidebar-don-t-expand-when-changing-views/264996>\
**Category:** Bug\
**Tags:** sidebar\
**Created:** [Maio 15, 2023, 6:09am UTC](https://meta.discourse.org/t/collapsed-sections-in-mobile-sidebar-don-t-expand-when-changing-views/264996 "2023-05-15T06:09:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [Maio 17, 2023, 2:10am UTC](https://meta.discourse.org/t/collapsed-sections-in-mobile-sidebar-don-t-expand-when-changing-views/264996/5 "2023-05-17T02:10:20Z")

</div>

Obrigado pelo relatório de bug aqui @Lilly

Eu publiquei uma correção para isso em

> <https://github.com/discourse/discourse/pull/21604>
>
> What is the problem?
> 
> This is a follow up to 4cca7de22dda2bfa0939c75fb4fe405a93c…0a87d. In the
> commit, CSS was used to disable the collapsing of sections in the header
> dropdown navigation menu when the \`navigation\_menu\` site setting is set
> to \`header dropdown\`. However, using CSS is not the correct approach as
> the underlying code is still marking the section as collapsable which
> means that the sections will still be displayed as collapsed with no way
> to "uncollapse" if the local store has already marked the section as
> collapsed.
> 
> What is the fix?
> 
> This commit removes the usage of CSS to hide the collapsabe button and
> instead correctly marks the section as not collapsable in the code.

---

_[View the full topic](https://meta.discourse.org/t/collapsed-sections-in-mobile-sidebar-don-t-expand-when-changing-views/264996)._
