bug: [iOS] [All Browsers] Button doesn't animate on-click
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:
- Open link
- Click "All Events", button animates on press (does not animate in Safari)
- 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.
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.
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);
I think this is fixed already. I can't see the issue anymore.