daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: multiple dialog crashes the page

Open jlapitan opened this issue 1 year ago โ€ข 6 comments

What version of daisyUI are you using?

3.6.3

Describe your issue

When having multiple instance of the dialog/modal crashes the site/page

What browsers are you seeing the problem on?

Safari iOS

Reproduction URL

https://codepen.io/dxbdevy/full/KKbdOVL

jlapitan avatar Aug 26 '23 20:08 jlapitan

Exactly how crash the application ? The "reproduction link" looks fine

CMOISDEAD avatar Aug 26 '23 21:08 CMOISDEAD

if you open the link in safari, it crashes

https://www.youtube.com/shorts/-9AAdXFypVQ

jlapitan avatar Aug 27 '23 07:08 jlapitan

Does this happen if you disable the daisyUI CSS file?

saadeghi avatar Aug 30 '23 09:08 saadeghi

@saadeghi it does not happen.

https://codepen.io/dxbdevy/full/NWeNXbz - removed daisyui

jlapitan avatar Aug 30 '23 09:08 jlapitan

I can't reproduce the issue with iOS 16.4 on iPhone 14.
It's so weird that CSS is causing the issue ๐Ÿค”

Is this issue only on CodePen or does this happen with a simple HTML page?

saadeghi avatar Aug 30 '23 10:08 saadeghi

i have the issue on ios 16.6 on iPhone 12 pro and iphone 14 pro, not only in codepen, i have a project that totally crash the site on safari only. I thought it was my JS but then I have pinpointed it with this issue.

jlapitan avatar Aug 30 '23 11:08 jlapitan