SwiftUI/WebKit Allowing popups and links

We are using an imbedded WKWebView in a SwiftUI view. There are links within the pages being viewed - they are company pages - and some link to other pages as well as open named (or unnamed) browser tabs.

In our implementation, when there is a named (or unnamed) link to another browser tab, the view does not do anything.

Any ideas on how to allow tabs to open in some manner and allow the users to access the links?

To clarify - you want to intercept the link taps and perform an action in your app? Or do all of this in the web view?

I would like to do it in the web view - interaction outside the web view is not needed at this time.

SwiftUI/WebKit Allowing popups and links
 
 
Q