code100x / cms

Repo for https://app.100xdevs.com/
https://app.100xdevs.com/
1.08k stars 1.56k forks source link

bug: Hide Contents button is inconsistent. #1381

Closed iamransh closed 1 month ago

iamransh commented 1 month ago

Describe the bug

If you try to close the side drawer using the hide contents button, it only works if you click on the 'X' icon, otherwise if you click anywhere else on the button instead of the the 'X' icon, the side drawer closes only for a brief second and then reopens automatically.

To Reproduce Steps to reproduce the behavior:

  1. Open the side drawer by clicking on the show contents button.

  2. Try to close the side drawer by clicking on the hide contents button except for the 'X' icon.

Expected behavior

The side drawer should close by clicking anywhere on the hide contents button.

Screenshots or GIFs

https://github.com/user-attachments/assets/14fb3231-6cea-4ef3-a965-509cc27b2b30

atul24112001 commented 1 month ago

Hey, I want to work on this

Husain01 commented 1 month ago

I want to work on this! Seems like it's from a very recent build issue only.

sidpan2011 commented 1 month ago

Hey, just came here to report the issue, but already created. I want to work on the above mentioned issue. I have checked, for sm: screen size, not getting the issue, so this might get fix with some tweaks in position for the breadCrumps.