azouaoui-med / react-pro-sidebar

React Pro Sidebar provides a set of components for creating high level and customizable side navigation

Home Page:https://azouaoui-med.github.io/react-pro-sidebar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sidebar toggles on collapse

phtmgt opened this issue · comments

Describe the bug
When toggled in broken state and collapse state is changed via a button in the sidebar, the sidebar toggles off (disappears).

To Reproduce
Steps to reproduce the behavior:

  1. Add a collapse button to the sidebar.
  2. Decrease width below breakPoint
  3. Toggle the sidebar
  4. Click the collapse button
  5. Watch the sidebar first change collapse state, then disappear.

Expected behavior
The toggled sidebar should either not disappear at all or at least re-toggle after collapse state is changed.

Screenshots

Screen.Recording.2023-05-11.at.15.44.50.mov

not able to reproduce the issue on my side, if you can share a codesandbox will help debug the issue

rps-test1.mp4
commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.