themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.3k stars 710 forks source link

Bug: Sidebar Fails to Darken When Right-Side Drawer Opens #836

Open ljahier opened 3 months ago

ljahier commented 3 months ago

Describe the bug When a drawer that opens from the right side of the screen is triggered, the main page content darkens as expected to indicate the focus on the drawer. However, the sidebar, which remains visible, does not darken alongside the rest of the page, leading to inconsistent visual feedback.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the page with the sidebar and right-side drawer feature.
  2. Click on the button or link that triggers the right-side drawer to open.
  3. Observe that the main page content darkens, but the sidebar does not change, remaining fully lit.

Expected behavior I expected the entire page, including the sidebar, to darken when the right-side drawer opens. This would provide consistent visual feedback across the page, indicating that the focus is on the opened drawer and temporarily away from the main content and sidebar.

Screenshots

Screenshot 2024-03-20 at 05 17 05

Desktop: