WPF: Wrapping <TouchableHighlight> inside a <TouchableWithoutFeedback>does not respond to touch event.
Environment
react-native -v: 0.55npm ls rnpm-plugin-windows:npm ls react-native-windows:node -v:npm -v:yarn --version:
Then, specify:
- Target Platform: WPF
- Target Platform Version(s): 4.6
- Target Device(s): Surface Pro
- Development Operating System: Windows
- Visual Studio Version: 2017
- Build Configuration: Debug
Steps to Reproduce
(Write your steps here:)
On touching "Press me!" button, alert does not appeared but when clicking from mouse - it appeared.
<TouchableWithoutFeedback>
<View style={{flex:1}}>
<TouchableHightlight
onPress = {()=>alert("Button touched"}>
<Text>Press me! </Text>
</TouchableHightlight>
</View>
</TouchableWithoutFeedback>
Expected Behavior
(Write what you thought would happen.) I expect it should respond to touch event and Alert should appear. This way it works in UWP, iOS and Android.
Actual Behavior
Alert doesn't appeared on touch event when parent view is wrapped by TouchableWithoutFeedback in WPF application.
(Write what happened. Add screenshots!)
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
@rozele @matthargett Any clue why this is not working in WPF?
I think @pre10der89 had an issue like this. Maybe they fixed it in the @blujeans fork and it hasn't been upstreamed?
@matthargett I just tried on @bluejeans fork and able to reproduce issue there also.
We are not investing in new features or lower priority bug fixes on vCurrent. The bulk of investment is now in vNext as we prepare to make that the default choice. If this issue is still relevant on the vNext implementation please open a vNext issue. If this issue is of significant severity for a vCurrent app and vNext is not an option, re-open with justification.