daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: Noise Option Broken on Firefox

Open grahamcracker1234 opened this issue 11 months ago โ€ข 5 comments

What version of daisyUI are you using?

v5.0.0

Which browsers are you seeing the problem on?

Firefox

Reproduction URL

https://daisyui.com/theme-generator/

Describe your issue

The noise effect does not work properly on Firefox when compared to Chrome and Safari, only displaying in the corner rather than over the entire element.

Image

grahamcracker1234 avatar Mar 03 '25 14:03 grahamcracker1234

Thank you @grahamcracker1234 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 Mar 03 '25 14:03 github-actions[bot]

I am open to fixing this, I think I have a working solution @saadeghi

grahamcracker1234 avatar Mar 07 '25 19:03 grahamcracker1234

I can confirm this. It seems to only happen with certain values for --size.

Examples: 0-21px: broken 22px: working 24.1px - 24.4px: working, while decimal numbers around that are not working

In firefox devtools when I inspect the --size variable on .btn-sm, the .25rem is greyed out (to me, usually that means it doesn't work), as can be seen in the screenshot.

Image

vincolus avatar Mar 16 '25 07:03 vincolus

I confirm this:

Image

remisharrock avatar May 14 '25 11:05 remisharrock

@grahamcracker1234

I am open to fixing this, I think I have a working solution @saadeghi

Hey. That would be great. PRs are welcome ๐Ÿ™

saadeghi avatar May 14 '25 11:05 saadeghi