Browse Source

Inline viewport: make an adjustment

customisations
alemart 11 months ago
parent
commit
1a0eb2a7b0
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/core/viewport.ts

+ 1
- 0
src/core/viewport.ts View File

@@ -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…
Cancel
Save