Can I apply .scrollInputBehavior(.enabled, for: .look) to a WebView (wrapped UIViewRepresentable) in a visionOS 26 app?
I tried it myself, but I couldn't do it, so I would like to know if there is any way to do this.
Best regards.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Prior to visionOS 2.5, .onTapGesture was called with the following structure, but in visionOS 26.0 beta, it is no longer called.
Is .onTapGesture deprecated in visionOS 26.0 and above? Or is it a bug?
TabView(selection: $selectedTab) {
WebViewView(selectedTab: $selectedTab)
.onTapGesture {
viewModel.userDidInteract = true
}
}