https://stackblitz.com/edit/vitejs-vite-sbhg3vir?file=src%2FApp.tsx,src%2FLongList.tsx&terminal=dev
- scroll left container to some position, then click
force update button
- scroll right container to some position, then click
force update button
- expect
in v2, when wrapper rerender and using the render props method, keep the scroll position(like current in v1)
https://stackblitz.com/edit/vitejs-vite-sbhg3vir?file=src%2FApp.tsx,src%2FLongList.tsx&terminal=dev
force updatebuttonforce updatebuttonin v2, when wrapper rerender and using the render props method, keep the scroll position(like current in v1)