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: fixed position button not working above collapse-title #2836

Open
jo-gross opened this issue Feb 9, 2024 · 2 comments
Open

bug: fixed position button not working above collapse-title #2836

jo-gross opened this issue Feb 9, 2024 · 2 comments

Comments

@jo-gross
Copy link

jo-gross commented Feb 9, 2024

What version of daisyUI are you using?

4.6.2 4.7.0 4.7.2

Which browsers are you seeing the problem on?

Chrome, Chrome Android, Safari, Safari iOS, Firefox

Reproduction URL

https://stackblitz.com/edit/daisyui-nextjs-a9lsde?file=app%2Fpage.jsx

Describe your issue

When I have a button that is positioned using "absolute" or "fixed", and there is a collapse element below it, the button is always displayed above the collapse, but clicking on the button triggers the underling collapse. A simple workaround is indeed to assign a higher z-index to the fixed button. I'm not sure if this behavior is intended, @saadeghi what do you think?

Copy link

github-actions bot commented Feb 9, 2024

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

@jo-gross
Copy link
Author

Also tested in the latest version (4.7.0) - still there

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

1 participant