You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On smaller screen sizes max-width: 1023px when the sidebar is hidden, resizing the screen to min-width: 1024px and then back to max-width: 1023px causes an issue where it seems like the window no longer responds to click events.
It works on the component demo screen but does not work when copying the code into our project, so we wonder if the code has not been updated?
Expected behaviour
Sidebar should remain visible after steps [4], [5], and [6]
Screenshots
Expected
Actual
Browser/Device (if applicable)
OS: Windows 10 and MacOS xx
Browser: Chrome
Version: 101.0.4951.67 (Official Build) (64-bit)
@headlessui/react: "^1.6.1"
Additional context
N/A
The text was updated successfully, but these errors were encountered:
ptimson
changed the title
Sidebar window resizing causes no response from click events
Sidebar window resizing causes sidebar not to re-appear and no response from click events
May 25, 2022
What component (if applicable)
Describe the bug
On smaller screen sizes
max-width: 1023px
when the sidebar is hidden, resizing the screen tomin-width: 1024px
and then back tomax-width: 1023px
causes an issue where it seems like the window no longer responds to click events.It works on the component demo screen but does not work when copying the code into our project, so we wonder if the code has not been updated?
To Reproduce
Steps to reproduce the behaviour:
src/pages/preview.jsx
max-width: 1023px
to reveal hamburger menumin-width: 1024px
to hide hamburger menumax-width: 1023px
to reveal hamburger menuExpected behaviour
Sidebar should remain visible after steps [4], [5], and [6]
Screenshots
Expected
Actual
Browser/Device (if applicable)
OS: Windows 10 and MacOS xx
Browser: Chrome
Version: 101.0.4951.67 (Official Build) (64-bit)
@headlessui/react: "^1.6.1"
Additional context
N/A
The text was updated successfully, but these errors were encountered: