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: collapse with arrow or plus crashes edge #3128

Closed
AndreasRoither opened this issue Jul 11, 2024 · 2 comments
Closed

bug: collapse with arrow or plus crashes edge #3128

AndreasRoither opened this issue Jul 11, 2024 · 2 comments
Labels

Comments

@AndreasRoither
Copy link

AndreasRoither commented Jul 11, 2024

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

Copy link

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.

@saadeghi saadeghi added the v5 label Oct 31, 2024
@flip111
Copy link

flip111 commented Nov 10, 2024

this is a memory error in edge browser. Try upgrading your browser or use firefox. that daisyui triggers this edge bug doesn't make it a daisyui bug

@AndreasRoither AndreasRoither closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants