Capturing popover data when dismissing from background

Does anyone know how to capture data from a popover component if the popover is dismissed using a click of the background rather than clicking a button to close the popover? Using the latter method I can just manually make a call to


when the user clicks a close button and in the parent component I can get to the data via the onDidDismiss method.

But what I haven’t figured out is how to intercept the dismiss (and pass my data in) when the user dismisses the popover via a click on the background?

1 Like

If you have an answer (3 years later haha) I’m interested.