microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.39k stars 1.14k forks source link

[Modal] Disable main hwnd input for true Modality #14064

Closed TatianaKapos closed 1 week ago

TatianaKapos commented 3 weeks ago

Summary

Currently Modal allows input to both the parent and child hwnd. A true Modal needs to be able to disable input to the parent hwnd.

Motivation

Implementation of Modal

Basic Example

No response

Open Questions

Follow-up question: By default, a modal should disable input to the parent hwnd but I suspect there will be usecases where customers will want input for both hwnds. Do we create a windows-specific property to allow this (allowParentInput)?