Skip to content

Commit 4ce9422

Browse files
committed
Merge pull request #3236 from VisualSJ/develop_bugs
Fixed a bug about webView size
2 parents ea9e4cc + 44ed3f3 commit 4ce9422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/ccui/uiwidgets/UIWebView.js

+2
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ ccui.WebView.EventType = {
248248
this._div.style["-webkit-overflow"] = "auto";
249249
this._div.style["-webkit-overflow-scrolling"] = "touch";
250250
this._iframe = document.createElement("iframe");
251+
this._iframe.style["width"] = "100%";
252+
this._iframe.style["height"] = "100%";
251253
this._div.appendChild(this._iframe);
252254
}else{
253255
this._div = this._iframe = document.createElement("iframe");

0 commit comments

Comments
 (0)