Pārlūkot izejas kodu

Inline viewport: make an adjustment

customisations
alemart 11 mēnešus atpakaļ
vecāks
revīzija
1a0eb2a7b0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      src/core/viewport.ts

+ 1
- 0
src/core/viewport.ts Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt