Tooltip is working fine in the active state, but we need to close the tooltip when the app enters Background or Inactive state. We applied the appstate listener in RN and tried to toggle 'isVisible' prop of the tooltip.
It results in the following error on iOS:-
Presenting view controller
<RCTModalHostViewController: 0x13a421820> from detached
view controller <RNSScreen: 0x1311a22b0> is discouraged.
Tooltip is working fine in the active state, but we need to close the tooltip when the app enters Background or Inactive state. We applied the appstate listener in RN and tried to toggle 'isVisible' prop of the tooltip. It results in the following error on iOS:-
Presenting view controller <RCTModalHostViewController: 0x13a421820> from detached view controller <RNSScreen: 0x1311a22b0> is discouraged.
In addition, app hangs and becomes unresponsive.
Let us know if you need any more information.