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

Is 50ms press delay really necessary? Can't be configurable? #2637

Open
1 task done
steida opened this issue Jan 30, 2024 · 1 comment
Open
1 task done

Is 50ms press delay really necessary? Can't be configurable? #2637

steida opened this issue Jan 30, 2024 · 1 comment
Labels
enhancement Requires extension or creation of new React Native API

Comments

@steida
Copy link

steida commented Jan 30, 2024

Is there an existing request?

  • I have searched for this request

Describe the feature request

I read the source code, and I understand why it's there.

"should be a slight delay before activation."

If I understand correctly, we can use onPressIn if there is no scrollable parent. Unfortunately, it makes web apps less "snappy" than native apps if we need a scrollable parent.

Is that delay really required, and why is it 50ms, which is a relatively long time? Thank you for your excellent work.

@steida steida added the enhancement Requires extension or creation of new React Native API label Jan 30, 2024
@steida
Copy link
Author

steida commented Jan 30, 2024

And now I realized I can't use onPressIn anyway because, for some reason, it's not dispatch on light tap on Apple Magic Trackpad. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requires extension or creation of new React Native API
Projects
None yet
Development

No branches or pull requests

1 participant