egjs-grid
egjs-grid copied to clipboard
TypeError: Cannot read property 'destroy' of undefined
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
Thanks for the report. I will fix it soon.
@NicholasACTran
@egjs/svelte-grid
1.10.2 is released. Thank you :)