Преглед на файлове

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…
Отказ
Запис