Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
784 stars 61 forks source link

Sidebar close icon not working always #183

Closed GaganpreetKaurKalsi closed 5 days ago

GaganpreetKaurKalsi commented 3 weeks ago

Has this bug been raised before?

Description

Clicking on the sidebar close icon doesn't close the sidebar always (screen size). When resizing window, the UI updates (close icon comes and goes based on screen width) but the click handler on close button doesn't work. image

Steps to Reproduce

  1. Set window width to 1000px using developer tools. The click handler on close button doesn't work irrespective of reloading the window or not after resizing.
  2. Set window width to anywhere <= 990px, after resizing the window the close icon click handler doesn't work. Need to reload the window, and after that it works.

Environment

Screenshots

image

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response

Darginec05 commented 2 weeks ago

Thanks for reporting ˆ-ˆ I am really annoyed by this behavior :D

Darginec05 commented 5 days ago

It's fixed ˆ-ˆ Check it - https://yoopta.dev/examples/withBaseFullSetup