saadeghi / daisyui

🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
33.43k stars 1.28k forks source link

bug: Sidebar-drawer component overlay does not overlay table pinned rows #2867

Open svitiashchuk opened 7 months ago

svitiashchuk commented 7 months ago

What version of daisyUI are you using?

4.7.2

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://play.tailwindcss.com/5grvogvDhP

Describe your issue

When using the Drawer component, I've encountered a problem where, upon opening the drawer with a click, the overlay should cover all content on the page. However, when the content includes a table with pinned rows, all content is indeed under the overlay except for that rows. Additionally, there seems to be a background change applied to the header.

In Tailwind Play, I have included code copied from the documentation. I am using these specific examples:


Actual Behavior

The overlay covers the content, but the table header remains visible above the overlay, and its background is altered.

example

Expected Behaviour

The sidebar-drawer overlay should cover the entire content, including the table header, without affecting the styling of the header.


Thank you for your attention and for providing this amazing library.

github-actions[bot] commented 7 months ago

Thank you @svitiashchuk for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

jose-devcode commented 5 months ago

I had this same issue , fixed using z-10 tailwind class on the side wrapper. <div className="drawer-side z-10">

brianfeister commented 1 month ago

Had this issue as well, would be nice to see fixed