azimgd / shadowlist

60fps, high-performance list for React Native.
MIT License
90 stars 0 forks source link

Abstract internal Content Container from Scroll Container #5

Closed azimgd closed 1 month ago

azimgd commented 1 month ago

Rewrote ShadowListScrollContainer to improve its behavior with inverted lists. Before, we had a ScrollContainer and an ItemContainer. To fix the issues, I added a new middle layer called ContentContainer. This structure works better with inverted lists and makes the ScrollContainer and ScrollContent more modular.

ScrollContainer → ContentContainer → ItemContainer