Loading video...

Video Failed to Load

Go Home

🔑 Tip from my <Slider> lesson: Add the `touch-none` and `select-none` Tailwind utilities to avoid unwanted scrolling + selection for custom components on mobile Safari!

21,342 views • 2 years ago •via X (Twitter)

4 Comments

John Barker's profile picture
John Barker2 years ago

Great tip! Also, what is driving the re-ordering of the class name upon save?

Sam Selikoff's profile picture
Sam Selikoff2 years ago

This guy

Laura Beatris's profile picture
Laura Beatris2 years ago

Awesome! What's the extension that you use to get the CSS rules used by a Tailwind class on hover?

Srdjan Milicevic's profile picture
Srdjan Milicevic2 years ago

Would putting select-none on main apply to all the children inside main?

Related Videos