Christian Kaindl

Results 18 comments of Christian Kaindl

Yes, you need to re-calculate the virtual item range in `setOptions()`, which is defined here: https://github.com/TanStack/virtual/blob/f4698d85f33b4a62ca949c0c2dfa0c05c8ed0f4a/packages/virtual-core/src/index.ts#L286 So call `this.calculateRange()` at the end of `setOptions()`. Tested this locally and it seems...

@wuarmin I think this PR should fix your issue -> #366

I don't know if that's intentional, but the PR in #366 was not merged yet

I am facing the same issue in my Next.js application. I really can't find out how to trigger a page view manually, even after trying a bunch of things: Following...

Thanks for the response @AltamashShaikh! You're right, it does show up in the network tab, just not immediately (switching tabs triggers it sometimes?). Then it is a different problem: the...

@AltamashShaikh Sadly I don't see it working even with my custom event (see video below), otherwise I would gladly use that as a workaround! Again, the initial visit _is_ recorded,...

@Laul0 you're right! After a hard-refresh (`Cmd`+`Shift`+`R`), the custom event started working! omg, thank you! I guess it is true, there are only two hard things in computer science. And...

@zhouzi I quickly looked into it: One test doesn't pass and it doesn't seem to be a false positive. I'm not entirely sure what the issue is yet. Will try...

**TL;DR** I think the failing test was not correct. The code that calculates the range was not touched in this PR so I updated the test to match the expected...

Now the tests pass but the other check doesn't ^^ but I don't think the check is related to my changes?