You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[webview_flutter] Expose the allowsLinkPreview property in WKWebView for iOS #100783
I am using the WebView widget in my application and have noticed that users can long-press links to get a preview, aka, peek and pop view (iOS only feature):
I would like to have control over what WebViews have this property enabled on iOS.
This can be set by using the allowsLinkPreview boolean property on WKWebview.
However, I feel this is a foundational level functionality for webviews on iOS and noticed that flutter_webviews package doesn't expose this property but does expose other iOS only properties like gestureNavigationEnabled.
Proposal
In a similar manner to the gestureNavigationEnabled property I was going to propose adding allowsLinkPreview and passing that through to the native WKWebView set up.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
danagbemava-nc commentedon Mar 28, 2022
Hi @b099l3, it looks like there's already an existing issue requesting this feature, see #69748.
Kindly update your PR to reference that issue instead.
Closing from here as duplicate.
Thank you
b099l3 commentedon Mar 28, 2022
Hi @danagbemava-nc
Sorry I had a look but was searching on the "[webview_flutter]" term, not to worry.
Updated my PR
github-actions commentedon Apr 11, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.