Equivalent of useIsFocused with modals
satya164
Not sure I understand the feature request.
useIsFocused
already works for transparent modals, there's also useNavigationState
if you want to get information about other screens than where the hook is used. Can you describe the use case?Антон Михайлов
satya164: I mean hook that would detect if screen is seen currently, useIsFocus moves focus to screen, useIsShown would mark shown every screen under transparent screen (modals), but all under opaque screens would be hidden. So there would be a way to know if screen should render animation for example, or run video