daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

bug: [iOS] [All Browsers] Button doesn't animate on-click

Open kenwuuu opened this issue 8 months ago โ€ข 2 comments

Reproduction URL (Required)

https://pencil-it-in-web-git-chore-configure-c-b48231-kenwuuus-projects.vercel.app/events.html

What version of daisyUI are you using?

^5.0.40

Which browsers are you seeing the problem on?

All browsers

Describe your issue

To recreate:

  1. Open link
  2. Click "All Events", button animates on press (does not animate in Safari)
  3. Click "My Events", button does not animate on press (does not animate in both Safari and Chrome)

Tested on iOS 18.4.1 on Safari and Chrome.

kenwuuu avatar May 30 '25 21:05 kenwuuu

Thank you @kenwuuu 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 May 30 '25 21:05 github-actions[bot]

Fixed this by adding the following line to my main JS file. This should work if you put it in any global JS file.

document.addEventListener('touchstart', () => {}, true);

kenwuuu avatar Jun 06 '25 21:06 kenwuuu

I think this is fixed already. I can't see the issue anymore.

saadeghi avatar Sep 26 '25 20:09 saadeghi