Pressable usage
#1461
Replies: 1 comment
-
As of version 1.0 of Ark this component is removed, I assume normal html button should be used then. Closing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been using Pressable component as a base for Button and IconButton components.
Here's my implementation
And I've been using it like that:
And everything worked until I started testing app on mobile. The issue I came around was that the press event wasn't firing on mobile, after some digging I recreated this on desktop also.
Screen.Recording.2023-09-24.at.15.34.24.mov
After that I was confused and wasn't sure if this Pressable component is for simple buttons, that's why for now I moved to onClick handlers but because of that I'm opting out of some cool accessibility features?
Ark version: 0.15.0
Beta Was this translation helpful? Give feedback.
All reactions