Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'destroy' of undefined #66

Open
NicholasACTran opened this issue Jun 5, 2022 · 2 comments
Open

TypeError: Cannot read property 'destroy' of undefined #66

NicholasACTran opened this issue Jun 5, 2022 · 2 comments
Labels
bug Something isn't working complete svelte

Comments

@NicholasACTran
Copy link

NicholasACTran commented Jun 5, 2022

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>```
@daybrush daybrush added bug Something isn't working svelte labels Jun 22, 2022
@daybrush
Copy link
Member

@NicholasACTran

Thanks for the report. I will fix it soon.

@daybrush
Copy link
Member

daybrush commented Jun 23, 2022

@NicholasACTran

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete svelte
Projects
None yet
Development

No branches or pull requests

2 participants