Categories
HTML

How to eliminate 300ms delay on click events in mobile Safari?

Spread the love

Sometimes, we want to eliminate 300ms delay on click events in mobile Safari.

In this article, we’ll look at how to eliminate 300ms delay on click events in mobile Safari.

How to eliminate 300ms delay on click events in mobile Safari?

To eliminate 300ms delay on click events in mobile Safari, we add a meta element to set the viewport.

For instance, we write

<meta name="viewport" content="width=device-width, user-scalable=no" />

to add a meta element with name attribute set to viewport to eliminate the 300ms delay on click events in Mobile Safari.

Conclusion

To eliminate 300ms delay on click events in mobile Safari, we add a meta element to set the viewport.

Leave a Reply

Your email address will not be published.

If you like the content of this blog, subscribe to my email list to get exclusive articles not available to anyone else.