标签: react-native keyboard
当用户在scrollView中长按时,我想保持键盘打开。我已经有keyboardShouldPersistTaps='always'可以避免在轻按时关闭,但不知道如何使键盘忽略长按。我已经在长按处理程序中尝试过event.preventDefault()和event.stopPropagation(),但没有结果。
keyboardShouldPersistTaps='always'
event.preventDefault()
event.stopPropagation()