Replies: 1 comment
-
Actually, it might make more sense to have Furthermore, MDN says (emphasis mine):
So using this, you get better UX and better perceived performance (because the browser doesn't delay the click). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
By default, on mobile devices, tapping quickly on a button triggers a double tap and the browser zooms in. If you have prev/next buttons for a carousel and you tap them quickly to go through the items, it makes no sense to zoom the screen. In fact, I don't see a use case where you'd want that behavior at all.
If you have a
<button>
element, you probably want it to execute whatever JavaScript it has attached to it (or submit a form), not zoom the screen.I'm proposing the following addition to the Tailwind CSS reset:
Beta Was this translation helpful? Give feedback.
All reactions