react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

Unable to close the Tootip in 'background' and 'inactive' state

Open romeshyadav007 opened this issue 3 years ago • 0 comments
trafficstars

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.

romeshyadav007 avatar Oct 28 '22 07:10 romeshyadav007