.widgetURL modifier and interactive widgets co-existence in iOS17

Can someone tell me how to handle the conflict between the .widgetURL modifier and the interactive widget in iOS 17?

The .widgetURL makes all widget tapable, meanwhile interactive widget allows for tapping a button/toggle in a specific location inside the widget.

I want to mix the two: the .widgetURL modifier and the interactive widget, but right now when .widgetURL is set, the button/toggle of interactive widget doesn't work.

Running Xcode 15 beta 1 with iOS 17 on Simulator.

Any help is appreciated. Thanks!

.widgetURL modifier and interactive widgets co-existence in iOS17
 
 
Q