5min chapter

Frontend First cover image

The problem with buttons on the web

Frontend First

CHAPTER

What Happens When You Long Press a Button?

Most buttons don't apply user select coan nunseassess property to them. If you try to move your finger off, you're not even in press mode at that point. People use hover states on desk top which get applied when you tap and stay there because basicl when you tap, the hover pseudo state gets applied by i o s. io s will blur a synchronos some amount of time after on click to remove focus from buttons after their tap. I'm building a button. Is this three part blog post series, and talks all about this stuff. React spectrum folks have this library, react spectrum, which is their adobe specific u i library design system. It's

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode