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: Step Numbers not hidden in Drawer #2916

Closed
encorex opened this issue Mar 18, 2024 · 3 comments
Closed

bug: Step Numbers not hidden in Drawer #2916

encorex opened this issue Mar 18, 2024 · 3 comments

Comments

@encorex
Copy link

encorex commented Mar 18, 2024

What version of daisyUI are you using?

v4.7.3

Which browsers are you seeing the problem on?

No response

Reproduction URL

not

Describe your issue

When i using a drawer, the numbers from the steps elemnt are always visable. I tried Z index without any succes.

Open Drawer
Screenshot 2024-03-18 at 14 28 15

Closed Drawer
Screenshot 2024-03-18 at 14 28 20

Copy link

Thank you @encorex 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.

@ImtiazNayeemShawon
Copy link

it's related to the z-index maybe I can easily fix this issue

@saadeghi
Copy link
Owner

You can add z-[1] to drawer-side to fix this.
It's not a good idea for daisyUI to set the z-index value for it by default because z-index is something that depends on your page content. Some people may need some elements to be on top of sidebar (like a fixed navbar or a toast message, etc.)
So in this case you can use z-[1] but others may need another z-index value based on their page content.

Let me know if you have a question.

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

3 participants