Skip to content
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

[Card] Add support for delayLongPress #3534

Closed
fabriziocucci opened this issue Dec 18, 2022 · 1 comment
Closed

[Card] Add support for delayLongPress #3534

fabriziocucci opened this issue Dec 18, 2022 · 1 comment

Comments

@fabriziocucci
Copy link
Contributor

fabriziocucci commented Dec 18, 2022

Is your feature request related to a problem? Please describe.
We have a list of cards that support drag-and-drop and the default delayLongPress value is unfortunately too high. We ended up copying the Card code to benefit of the onPress animation just to lower the default delayLongPress value of the TouchableWithoutFeedback here.

Describe the solution you'd like
It would be great to support delayLongPress on the Card component.

Describe alternatives you've considered
Wrapping the Card content in a Pressable component and the Card itself in a Pressable component. None of that worked.

Additional context
N/A.

@lukewalczak
Copy link
Member

Hey @fabriziocucci, make sense, I will handle that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants