spicy-wolf / Choices

A Story, and Your Choices
https://storychoices.vercel.app/
GNU General Public License v3.0
0 stars 0 forks source link

While scrolling up, the contents are flickering due to dynamic resizing #58

Closed spicy-wolf closed 1 year ago

spicy-wolf commented 1 year ago

see => https://github.com/bvaughn/react-window/issues/190 https://github.com/bvaughn/react-window/issues/6

spicy-wolf commented 1 year ago

maybe https://tanstack.com/virtual/v3/docs/examples/react/dynamic

spicy-wolf commented 1 year ago

tanstack also faces the same issue => https://github.com/TanStack/virtual/issues/381

P.s. seems like it is fixed, awesome => https://github.com/TanStack/virtual/pull/404

spicy-wolf commented 1 year ago

try this https://codesandbox.io/s/tanstack-virtual-dynamic-don5qc?file=/src/main.tsx slightly better than react-window

spicy-wolf commented 1 year ago

for scrolling detect https://codesandbox.io/s/affectionate-khayyam-pp6r0?file=/src/index.js:2495-2527