Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Commit 4d6f967

Browse files
Jay TeJay Te
Jay Te
authored and
Jay Te
committed
Enable scalesPageToFit
1 parent c364360 commit 4d6f967

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Webbrowser extends BaseComponent {
6262
forwardButtonEnabled: false,
6363
homeButtonEnabled: true,
6464
loading: true,
65-
// scalesPageToFit: true,
65+
scalesPageToFit: true,
6666
jsCode: this.props.jsCode,
6767
cookie: this.props.cookie,
6868
WebViewHeight: 0
@@ -258,8 +258,8 @@ class Webbrowser extends BaseComponent {
258258
forwardButtonEnabled: navState.canGoForward,
259259
currentUrl: navState.url,
260260
status: navState.title,
261-
loading: navState.loading
262-
// scalesPageToFit: true,
261+
loading: navState.loading,
262+
scalesPageToFit: true
263263
});
264264

265265
this.props.onNavigationStateChange(navState);

0 commit comments

Comments
 (0)