ClickableLabel icon indicating copy to clipboard operation
ClickableLabel copied to clipboard

Open Called Twice

Open fritzfr opened this issue 3 years ago • 0 comments

Hey,

I've noticed that in my case the line https://github.com/stevencurtis/ClickableLabel/blob/590b2c37b0b066165aba6e5a2fb6a308aff8b9aa/ClickableLabel/InteractiveLinkLabel.swift#L85 gets called twice when it gets tapped. In the debug console it logs:

ExampleApp[3686:86009] [Presentation] Attempt to present <SFSafariViewController: 0x152926000> on <ExampleApp.ViewController: 0x15261ff50> (from <ExampleApp.InteractiveLinkLabel: 0x153e0d770>) whose view is not in the window hierarchy.

fritzfr avatar Mar 15 '21 10:03 fritzfr