Frontend First cover image

The problem with buttons on the web

Frontend First

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner