Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application sidebar's backdrop element not being removed/hidden after resizing screen size from lg size to md/sm size #267

Closed
MarkCay opened this issue Feb 6, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@MarkCay
Copy link

MarkCay commented Feb 6, 2024

I just tried Preline today and it was great, until I encountered an issue. The application sidebar's backdrop element is not being removed after resizing screen size from lg size to md/sm size.

How to reproduce?

  1. Visit https://preline.co/examples/html/application-layout-sidebar.html
  2. Resize your screen to md size (https://tailwindcss.com/docs/screens)
  3. Click the menu icon
  4. Resize your screen to lg size or higher (https://tailwindcss.com/docs/screens)

Now after completing these steps, you can now reproduce the application sidebar's backdrop element that cannot be toggled to close. For now, I temporarily used JavaScript to remove the element.

@MarkCay
Copy link
Author

MarkCay commented Feb 6, 2024

Here's a screen recording that also demonstrates how the issue can be reproduced.

ezgif-2-570b251800

(As you can see, the only way to remove/hide the backdrop (without altering the code) is to click the backdrop and then click an accordion item.)

@MarkCay MarkCay changed the title Application sidebar's backdrop element not being removed after resizing screen size from lg size to md/sm size Application sidebar's backdrop element not being removed/hidden after resizing screen size from lg size to md/sm size Feb 6, 2024
@jahaganiev jahaganiev added the bug Something isn't working label Feb 6, 2024
@olegpix
Copy link
Collaborator

olegpix commented Feb 28, 2024

Here's a screen recording that also demonstrates how the issue can be reproduced.

ezgif-2-570b251800 ezgif-2-570b251800

(As you can see, the only way to remove/hide the backdrop (without altering the code) is to click the backdrop and then click an accordion item.)

Hi! This issue will be solved in the next update.

@jahaganiev
Copy link
Member

duplicated #136

@jahaganiev
Copy link
Member

Hey @MarkCay - just to update you, the issue has been fixed. Thanks!

@MarkCay
Copy link
Author

MarkCay commented Apr 5, 2024

Hi @jahaganiev , thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants