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: Hero with overlay doesn't set content z-index in v5 #3682

Closed
topherfangio opened this issue Mar 16, 2025 · 2 comments
Closed

bug: Hero with overlay doesn't set content z-index in v5 #3682

topherfangio opened this issue Mar 16, 2025 · 2 comments
Assignees

Comments

@topherfangio
Copy link
Contributor

Reproduction URL (Required)

https://play.tailwindcss.com/gpSGjJNg6Q

What version of daisyUI are you using?

v5.0.4

Which browsers are you seeing the problem on?

All browsers

Describe your issue

In v4, the hero-content class applied a z-index: 0so that it appeared above the overlay. This appears to be missing from v5 so the content is below the overlay and is affected by blurs.

v4 (working): https://play.tailwindcss.com/8rjYIAR94f

Image

v5 (broken): https://play.tailwindcss.com/gpSGjJNg6Q

Image
Copy link

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

@saadeghi saadeghi self-assigned this Mar 16, 2025
@saadeghi
Copy link
Owner

Will be fixed in next version soon.

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