Repository navigation
[Android] Add pressOutAfterAnimation prop to Touchable
#4568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
73d4abc
e291aa3
5ec1332
5085e5c
64d7b32
520e44a
6066584
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,6 +145,14 @@ export interface ButtonProps extends ViewProps, AccessibilityProps { | |
| */ | ||
| longPressDuration?: number | undefined; | ||
|
|
||
| /** | ||
| * When the platform deferred the press (e.g. the tap timeout inside a | ||
| * scrolling container), hold the press-out event until the press-in | ||
| * animation has played, so feedback driven from the callbacks stays | ||
| * visible. The press event is not delayed. | ||
| */ | ||
| pressOutAfterAnimation?: boolean | undefined; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not a fan of the name of this prop, though I cannot say what exactly feels wrong. Maybe something along the lines of Not a blocker. We can also brainstorm later.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd suggest |
||
|
|
||
| /** | ||
| * Duration of the press-out animation, in milliseconds, when the | ||
| * button is released after being held past `longPressDuration`. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.