Showing
1 changed file
with
5 additions
and
3 deletions
| @@ -60,12 +60,14 @@ export struct WdWebLocalComponent { | @@ -60,12 +60,14 @@ export struct WdWebLocalComponent { | ||
| 60 | .imageAccess(true) | 60 | .imageAccess(true) |
| 61 | .mixedMode(MixedMode.All) | 61 | .mixedMode(MixedMode.All) |
| 62 | .onlineImageAccess(true) | 62 | .onlineImageAccess(true) |
| 63 | - .enableNativeEmbedMode(true) | ||
| 64 | - .layoutMode(WebLayoutMode.FIT_CONTENT) | 63 | + // .enableNativeEmbedMode(true) |
| 64 | + // .layoutMode(WebLayoutMode.FIT_CONTENT) | ||
| 65 | .nestedScroll({ | 65 | .nestedScroll({ |
| 66 | scrollForward: NestedScrollMode.SELF_FIRST, | 66 | scrollForward: NestedScrollMode.SELF_FIRST, |
| 67 | scrollBackward: NestedScrollMode.PARENT_FIRST | 67 | scrollBackward: NestedScrollMode.PARENT_FIRST |
| 68 | - })// .height(this.webHeight) | 68 | + }) |
| 69 | + .width('100%') | ||
| 70 | + .height(this.webHeight) | ||
| 69 | .onPageBegin((event) => { | 71 | .onPageBegin((event) => { |
| 70 | this.onPageBegin(event?.url); | 72 | this.onPageBegin(event?.url); |
| 71 | }) | 73 | }) |
-
Please register or login to post a comment