浏览代码

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';

正在加载...
取消
保存