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

Crash in KeyboardEventHandler when no corewindow

Open asklar opened this issue 4 years ago • 3 comments

  • run template app against winui 3
  • hover over something, press the alt key
  • we crash when dereferencing a null corewindow:

note that there are more usages of corewindow in this file that we need to provide alternatives when no corewindow is available

https://github.com/microsoft/react-native-windows/blob/003602b90aeda1b2a43702c6a9307c0f01010e59/vnext/Microsoft.ReactNative/Views/KeyboardEventHandler.cpp#L200-L207

asklar avatar Jun 18 '21 06:06 asklar

will need to try this out in winappsdk 1.0 once we update @AgneLukoseviciute fyi

asklar avatar Oct 22 '21 09:10 asklar

@TatianaKapos Do you think this will make 0.69 or should it be moved to 0.70?

jonthysell avatar May 06 '22 23:05 jonthysell

Heads up: I have a fix for this. Will put up PR shortly.

lyahdav avatar Sep 16 '22 21:09 lyahdav