Frontend First cover image

The problem with buttons on the web

Frontend First

00:00

Using a Native Apsoe on an iPhone

There's this use button hook that you can use inside of component. Splat the button, plop props on, and then you get the on press unified inner face. It applies user selects none when you're pressing, so you don't even have to like, ad useor select none tail in class,. A and figure out when you want ply that and all thi stuff. There's a class called touch none, an talone, which is touch action col and none. You throw that on your button, and then it doesn't trigger a scroll any more because you're tapping a button, ight? Ye.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app