Skip to content

Avatar button doesn’t close sidenav after opening it

Description: When clicking the avatar button in the top bar, the sidenav opens correctly, but clicking the same button again does not close it as expected.

Steps to reproduce:

Click the avatar button in the header.

Observe that the sidenav opens.

Click the avatar button again.

Expected behavior: The sidenav should close when the avatar button is clicked again.

Actual behavior: The sidenav remains open and does not close.