petyosi / react-virtuoso

The most powerful virtual list component for React
https://virtuoso.dev
MIT License
5.25k stars 301 forks source link

[Question] Is possible to trigger range update ? #367

Closed MartinNovak1991 closed 3 years ago

MartinNovak1991 commented 3 years ago

I have a issue ... List item is expandable, but range is not updated after item expanding. Visible items is less because of item height (expanded), but range trigger is not fired and range is still same. I must scroll for range update. How can I trigger range update manually, on demand?

petyosi commented 3 years ago

I am not sure what you are doing and why it does not work. But a wild guess would be that this issue will help you:

https://github.com/petyosi/react-virtuoso/issues/322