inokawa

Results 165 comments of inokawa

As far as I granced the code, the useLayoutEffect seems to be called when currPage is changed. It should be called only on mount like: ```diff + const initialized =...

Svelte 4 syntax seems to work on both 4 and 5, otherwise 5 syntax only works on 5. An OSS should be backward compatible as much as possible so there...

The peer dependency issue seems to be not inevitable, because `5.0.0-next.263` doesn't match `>=4.0` semver (but `5.0.0` matches it). https://github.com/npm/npm/issues/8854 So after the Svelte `5.0.0` release would be the reasonable...

2 or more WindowScrollers in one view will not work as expected in some situations. We have to find some workaround. https://github.com/inokawa/virtua/blob/ccd002e2c879b6f9f124d6b4b3c7b9ade252194f/src/core/scroller.ts#L413

Released in `0.37.4`. The 2 scrollers issue will be addressed in #555 .

The basic architecture of virtua is that the core having external state updates frameworks' state of each adapters. React adapter doesn't have this problem so probably it's happening because the...

Hello @Razum , I'm not sure what "recalculate handler" means. Is it something like below? ```ts const ref = useRef(null); { if (offset < 100) return ref.current.dontFixChildrenPosition(); ref.current.fixChildrenPosition() }} >...

Thanks, I understood. I think recalculate like method will not be suitable for virtua because of its architecture, but the idea is helpful. I'll try to think this hard problem...