TouchableHighlight vs TouchableWithoutFeedback

I noticed a huge issue with TouchableHighlight where there is a significant delay with the onPressIn method being called, making this component next to unusable for real-time feedback.

The TouchableWithoutFeedback component, however provided realtime feedback, but being that it doesn’t conform to the same component that TouchableHighlight does, styles break.

touchable

2 thoughts on “TouchableHighlight vs TouchableWithoutFeedback

  1. Has this been addressed? I’m experiencing the same delay, regardless of whether the TouchableHighlight component is in a ScrollView or just a View.

    It’s not the biggest deal, since an easy workaround is to just extend the component and override the delay:

    class TouchableButton extends TouchableHighlight {
      touchableGetHighlightDelayMS() {
        return 0;
      }
    }

    However, I am wondering if there could be a better implementation. Currently, the stock TouchableHighlight component is noticeably unresponsive.

Comments are closed.

TouchableHighlight vs TouchableWithoutFeedback

I noticed a huge issue with TouchableHighlight where there is a significant delay with the onPressIn method being called, making this component next to unusable for real-time feedback.

The TouchableWithoutFeedback component, however provided realtime feedback, but being that it doesn’t conform to the same component that TouchableHighlight does, styles break.

touchable

1 thought on “TouchableHighlight vs TouchableWithoutFeedback

  1. Has this been addressed? I’m experiencing the same delay, regardless of whether the TouchableHighlight component is in a ScrollView or just a View.

    It’s not the biggest deal, since an easy workaround is to just extend the component and override the delay:

    class TouchableButton extends TouchableHighlight {
      touchableGetHighlightDelayMS() {
        return 0;
      }
    }

    However, I am wondering if there could be a better implementation. Currently, the stock TouchableHighlight component is noticeably unresponsive.

Comments are closed.