daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: fixed position button not working above collapse-title

Open jo-gross opened this issue 1 year ago โ€ข 2 comments

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?

jo-gross avatar Feb 09 '24 14:02 jo-gross

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.

github-actions[bot] avatar Feb 09 '24 14:02 github-actions[bot]

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

jo-gross avatar Feb 13 '24 00:02 jo-gross