Post

After months of trying to solve gaps/overlaps when scrolling or changing size, without native code, I’ve finally cracked it! See this video of a VERY slow phone and no visible gapping. Try it now in Legend List beta.47 😀. And I think we should be ready for 1.0 next week!

0 reposts12 likes

This video is not about perf! It's testing gaps when estimated size is way off. drawDistance is small, those flags are surprisingly heavy to render, and this is a very slow phone. And check out the PR for details about how it works: github.com/LegendApp/le...

github.comFix gaps by jmeistrich · Pull Request #192 · LegendApp/legend-listThis does two things: 1. Fix gaps while scrolling When a container useLayoutEffect fires, run through all containers and if we don't already have a known size then measure the item. This is use...