Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] WebKit add setting allowsLinkPreview to prevent 3D touch preview on links iOS #1518

Open
voxelbee opened this issue Mar 13, 2025 · 0 comments

Comments

@voxelbee
Copy link

I need to be able to disable 3D touch to preview links on both iOS and MacOS we can do this on MacOS without any changes to wry however as there is no access to objc2_web_kit::WKWebView on iOS (see issue Make objc2_web_kit::WKWebView supports iOS #637) we need to have that as a change within wry as there is a copy of the WKWebView for iOS maintained in this repo src/wkwebview/ios/WKWebView.rs.

See the pull request adding this feature to tauri-plugin-prevent-default
Added webkit allowsLinkPreview to prevent 3D touch preview on links #28

We would like a way to set this as a platform specific setting for both iOS and MacOS as this would be the easiest to implement and when the webview is created that value is set within wry calling setAllowsLinkPreview on the WKWebView.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant