Property | Supported | Supported on Roku | Dynamic on Roku | Notes |
---|---|---|---|---|
hitSlop | ~v | Not Possible | N/A | N/A on 10ft |
accessibilityComponentType | ~x | ~x | N/A | |
accessible | ~v | ~v | N/A | |
accessibilityLabel | ~v | ~v | ~x | |
accessibilityRole | ~v | ~v | ~x | |
accessibilityStates | ~v | ~v | ~x | |
accessibilityHint | ~v | ~v | ~x | |
delayLongPress | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
delayPressIn | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
delayPressOut | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
disabled | ~v | ~v | ~v |
TouchableOpacity and TouchableHighlight inherit the disabled property from TouchableWithoutFeedback . |
accessibilityTraits | ~x | ~x | N/A | |
onBlur | ~v | ~v | ~v | |
onFocus | ~v | ~v | ~v | |
onLayout | ~v | ~v | ~v | On Roku, invoked on mount and layout changes with nativeEvent. Handled only in the server side and no need to pass to client. |
onLongPress | ~v | N/A | N/A | Roku does not support this event. N/A on 10ft; see Note below |
onPress | ~v | ~v | N/A | |
onPressIn | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
onPressOut | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
pressRetentionOffset | ~v | Not Possible | N/A | N/A on 10ft; see Note below |
testID | ~v | ~v | N/A | |
style | ~v | Partial | ~x |
On platforms with touch support, it’s possible to tell when a press starts and ends.
On 10-foot platforms, however, when a Touchable is selected, the only callback that it can invoke is onPress
.
As a result, the props delayLongPress
, delayPressIn
, delayPressOut
, onLongPress
, onPressIn
, onPressOut
, and pressRetentionOffset
aren’t supported for 10ft platforms.