naver / egjs-infinitegrid

A module used to arrange card elements including content infinitely on a grid layout.
https://naver.github.io/egjs-infinitegrid/
MIT License
2.23k stars 95 forks source link

Svelte getting started example not wokring #468

Closed neckaros closed 2 years ago

neckaros commented 2 years ago

Description

I just copied the code from the getting started in a codesandbox but on load no items appear. To see items i have to resize the window. Same to see the appended items i have to resize again (on v4.1.1 on v4.2 beta5 the append seems to work by itself)

Steps to check or reproduce

https://codesandbox.io/s/sveltegridneedresize-forked-iix4x

daybrush commented 2 years ago

@neckaros

Thanks for reporting. I'll check.

daybrush commented 2 years ago

@neckaros I'm going to fix that bug and temporarily try the following CSS:

:global(body),
:global(html) {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}
daybrush commented 2 years ago

infinitegrid's new version is released. Try it again. Thank you :)

stale[bot] commented 2 years ago

This issue/PR has been automatically marked as stale because it has not had any update (including commits, comments, labels, milestones, etc) for 30 days. It will be closed automatically if no further update occurs in 7 day. Thank you for your contributions!

한글 이 이슈/PR은 commits, comments, labels, milestones 등 30일간 활동이 없어 자동으로 stale 상태로 전환되었습니다. 이후 7일간 활동이 없다면 자동으로 닫힐 예정입니다. 프로젝트 개선에 기여해주셔서 감사합니다.