瀏覽代碼

Inline viewport: make an adjustment

customisations
alemart 11 月之前
父節點
當前提交
1a0eb2a7b0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/core/viewport.ts

+ 1
- 0
src/core/viewport.ts 查看文件

@@ -628,6 +628,7 @@ class InlineResizeStrategy extends ViewportResizeStrategy
628 628
         const subContainer = viewport._subContainer;
629 629
         const virtualSize = viewport.virtualSize;
630 630
 
631
+        container.style.display = 'inline-block'; // fixes a potential issue of the viewport not showing up
631 632
         container.style.position = 'relative';
632 633
         container.style.left = '0px';
633 634
         container.style.top = '0px';

Loading…
取消
儲存