react-native-web icon indicating copy to clipboard operation
react-native-web copied to clipboard

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

Open steida opened this issue 2 years ago • 1 comments

Is there an existing request?

  • [X] 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 avatar Jan 30 '24 13:01 steida

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. 🤔

steida avatar Jan 30 '24 14:01 steida