I am using a ContentView as a popup in my .NET MAUI app. The popup displays correctly, but when I tap inside the popup (e.g., on the title), touch events from background elements (like a Entry or Button) are still triggered. This causes issues like the keyboard opening when tapping the popup title because there is an Entry behind it.
How can I prevent background elements from receiving touch events when the popup is open?
In Xamarin, when I showed a popup, background elements automatically stopped receiving touch events. However, after migrating to .NET MAUI and using ContentView as a popup, I noticed that background elements still receive touch events, and I have to manually disable them using IsEnabled = false.
Why does this behavior work automatically in Xamarin but not in MAUI? Is there a built-in way in MAUI to prevent background interactions without manually disabling the parent layout?