I'm using Rg.Plugins.Popup to show popups in an XF app.
The popups have their own focus scope, when you press tab you iterate through the focusable elements within the popup.
At certain scenarios however the background page which has its own focus scope can grab the focus from the popup.
I'm trying to prevent losing the focus but couldn't find much info about how any of this work in xamarin forms...
Is there a way to know when a page loses focus and possibly prevent that?
Or maybe a way to get/register on the current focused element?