kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

Grid's loader gets lost in the scrollable area height is greater than the viewport height

Open kendo-bot opened this issue 7 months ago • 0 comments

Bug report

Grid's loader gets lost in the scrollable area height is greater than the viewport height

Reproduction of the problem

Dojo: https://dojo.telerik.com/hqknEyYx/2

Run and click on Export to Excel button

Worakround: https://dojo.telerik.com/gSsYgQpZ

excelExport: function (e) {
          let gridHeight = $("#grid").height();
          if (gridHeight < 700) {
            $("div.k-loader-container-inner").addClass("smallHeight");
            
          } else {
            $("div.k-loader-container-inner").addClass("biggerHeight");
          }
        }
...
<style>
        div.loaderPosition {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      div.biggerHeight {
        position: absolute;
          top: 50vh;
          left: 50%;
          transform: translate(-50%, -50%);
      }
    </style>

Ticket ID: 1682050

Environment

Kendo UI version: [all] jQuery version: 3.4.1 Browser: [all]

kendo-bot avatar Mar 25 '25 11:03 kendo-bot