Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bring back pressable machine #2636

babakfp started this conversation in General
Discussion options

🚀 Feature request

I'm looking for something like the Button component in React Aria. Because styling with attributes that it provides looks and feels better than using CSS :active.

🧱 Problem Statement / Justification

CSS :active does not work in a expected way. For example background highlight added with :active does not work when pressed quickly. It gives poor and cheap feeling.

✅ Proposed solution or API

Whatever React Aria does. I'm only looking for the styling feature of on press. But it seems like react aria offers more than that and it may be useful to add it all.

↩️ Alternatives

I can create a custom even that fires on pointer up and down and add a custom attribute using that... Or just use :active.

📝 Additional Information

https://react-spectrum.adobe.com/react-aria/Button.html

there was this pressable component before that got deleted for reasons explained in one of these links.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2634 on August 15, 2025 09:45.

AltStyle によって変換されたページ (->オリジナル) /