This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
packages/webview_flutter/webview_flutter Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 2.3.1
2+
3+ * Add iOS-specific note to set ` JavascriptMode.unrestricted ` in order to set ` zoomEnabled: false ` .
4+
15## 2.3.0
26
37* Add ability to enable/disable zoom functionality.
Original file line number Diff line number Diff line change @@ -272,6 +272,9 @@ class WebView extends StatefulWidget {
272272 /// A Boolean value indicating whether the WebView should support zooming
273273 /// using its on-screen zoom controls and gestures.
274274 ///
275+ /// *Note: On iOS [javascriptMode] must be set to
276+ /// [JavascriptMode.unrestricted] in order to set [zoomEnabled] to false
277+ ///
275278 /// By default 'zoomEnabled' is true
276279 final bool zoomEnabled;
277280
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: webview_flutter
22description : A Flutter plugin that provides a WebView widget on Android and iOS.
33repository : https://github.com/flutter/plugins/tree/master/packages/webview_flutter/webview_flutter
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
5- version : 2.3.0
5+ version : 2.3.1
66
77environment :
88 sdk : " >=2.14.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments