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

WPF: Wrapping <TouchableHighlight> inside a <TouchableWithoutFeedback>does not respond to touch event.

Open piyush965 opened this issue 8 years ago • 4 comments

Environment

  1. react-native -v: 0.55
  2. npm ls rnpm-plugin-windows:
  3. npm ls react-native-windows:
  4. node -v:
  5. npm -v:
  6. 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.)

piyush965 avatar Jun 06 '18 14:06 piyush965

@rozele @matthargett Any clue why this is not working in WPF?

piyush965 avatar Jun 06 '18 14:06 piyush965

I think @pre10der89 had an issue like this. Maybe they fixed it in the @blujeans fork and it hasn't been upstreamed?

matthargett avatar Jun 06 '18 19:06 matthargett

@matthargett I just tried on @bluejeans fork and able to reproduce issue there also.

piyush965 avatar Jun 07 '18 16:06 piyush965

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.

ghost avatar Oct 25 '19 21:10 ghost