egjs-grid icon indicating copy to clipboard operation
egjs-grid copied to clipboard

TypeError: Cannot read property 'destroy' of undefined

Open NicholasACTran opened this issue 2 years ago • 2 comments

Description

Running a toy example of egjs-grid for svelte, and I'm getting the error in the title.

Steps to check or reproduce

    import { JustifiedGrid } from "@egjs/svelte-grid";
  
    const gap = 5;
    const defaultDirection = "end";
    const rowRange = 0;
    const columnRange = [1,8];
    const sizeRange = [200,1000];
    const isCroppedSize = false;
    const displayedRow = -1;
  </script>
  
  <JustifiedGrid
    class="container"
    {defaultDirection}
    {gap}
    {rowRange}
    {columnRange}
    {sizeRange}
    {isCroppedSize}
    {displayedRow}
  >
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
    <div class="item">6</div>
    <div class="item">7</div>
    <div class="item">8</div>
    <div class="item">9</div>
    <div class="item">10</div>
  </JustifiedGrid>```

NicholasACTran avatar Jun 05 '22 02:06 NicholasACTran

@NicholasACTran

Thanks for the report. I will fix it soon.

daybrush avatar Jun 22 '22 07:06 daybrush

@NicholasACTran

@egjs/svelte-grid 1.10.2 is released. Thank you :)

daybrush avatar Jun 23 '22 08:06 daybrush