saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
32.47k stars 1.25k forks source link

bug: collapse with arrow or plus crashes edge #3128

Open AndreasRoither opened 2 weeks ago

AndreasRoither commented 2 weeks ago

What version of daisyUI are you using?

4.12.10

Which browsers are you seeing the problem on?

Edge

Reproduction URL

https://daisyui.com/components/collapse/

Describe your issue

Environment / Versions

Browser: Edge 122.0.2365.80, no extensions installed affected daisyui version: >= 4.12.8

Error Description

When hovering/clicking a collapse component that has either collapse-arrow or collapse-plus as css class, Edge (122.0.2365.80) crashes. There are no console errors or warnings in the console.

From my tests, removing either collapse-arrow or collapse-plus class on the collapse component results in normal component behavior. Daisyui versions >= 4.12.8 all have the same problem (versions <= 4.12.7 have no problem).

Other browsers like Chrome or Firefox do not seem affected in the latest versions. Due to a constraint, I can not upgrade Edge to a newer version yet and can thus not circumvent the error unless I use a fixed daisyui version.

Component: image

Crash: image

To download edge use the official site to select the version: https://www.microsoft.com/en-us/edge/business/download image


Edit: Hovering over cards at https://daisyui.com/docs/install/

image

also produces the crash.

Edit 2: Opening https://daisyui.com/ also crashes the browser tab.

3124 seems related at first, but I have no extensions installed

github-actions[bot] commented 2 weeks ago

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