gnir-work / react-window-dynamic-list

A naive approach to virtualizing a dynamically sized list
49 stars 9 forks source link

Property ref is missing on DynamicListProps #23

Closed dkluhzeb closed 3 years ago

dkluhzeb commented 3 years ago

I've tried to access the list via an ref, but my typscript transpiler is crying.

Screenshot_20201013_122828

Technically the forwarded ref works, but i have to ignore typing here: Screenshot_20201013_123003

I really like your Project, thanks for sharing this!

gnir-work commented 3 years ago

Thanks for the feedback 😊 I will take a look into the typing and update accordingly

gnir-work commented 3 years ago

Fixed in latest version :) You can update via npm i react-window-dynamic-list@2.4.0 in order to recieve the changes. I am closing the issue for now, in case something else pops up you are more than welcomed to reopen it.