File tree 3 files changed +8
-1
lines changed
packages/webview_flutter/webview_flutter
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
+
1
5
## 2.3.0
2
6
3
7
* 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 {
272
272
/// A Boolean value indicating whether the WebView should support zooming
273
273
/// using its on-screen zoom controls and gestures.
274
274
///
275
+ /// *Note: On iOS [javascriptMode] must be set to
276
+ /// [JavascriptMode.unrestricted] in order to set [zoomEnabled] to false
277
+ ///
275
278
/// By default 'zoomEnabled' is true
276
279
final bool zoomEnabled;
277
280
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: webview_flutter
2
2
description : A Flutter plugin that provides a WebView widget on Android and iOS.
3
3
repository : https://github.com/flutter/plugins/tree/master/packages/webview_flutter/webview_flutter
4
4
issue_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
6
6
7
7
environment :
8
8
sdk : " >=2.14.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments