From 208ab702cb4f38d4747fcc96b0ea4328c3f788f4 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 8 Nov 2021 18:48:43 +0200 Subject: [PATCH] Fix zoom and guestures for iOS --- lib/modules/dashboard/dashboard.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/modules/dashboard/dashboard.dart b/lib/modules/dashboard/dashboard.dart index 2fd2a3a..7014868 100644 --- a/lib/modules/dashboard/dashboard.dart +++ b/lib/modules/dashboard/dashboard.dart @@ -106,7 +106,7 @@ class _DashboardState extends TbContextState { mediaPlaybackRequiresUserGesture: false, javaScriptEnabled: true, cacheEnabled: true, - supportZoom: false, + supportZoom: Platform.isIOS, // useOnDownloadStart: true ), android: AndroidInAppWebViewOptions( @@ -115,6 +115,7 @@ class _DashboardState extends TbContextState { ), ios: IOSInAppWebViewOptions( allowsInlineMediaPlayback: true, + allowsBackForwardNavigationGestures: false )); late Uri _initialUrl;