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

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

Open
svitiashchuk opened this issue Feb 24, 2024 · 2 comments

Comments

@svitiashchuk
Copy link

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.

Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants