-
Notifications
You must be signed in to change notification settings - Fork 35
Item Height #28
Comments
Hi Andre, There is a discussion in #26 about swapping out react-tiny-virtual-list for react-virtualized. It's offers a wide range of different options such as an autosizer and a cellsizer. I'm going to take a look either tonight or tomorrow night at swapping it out to provide a more dynamic virtual list. Failing finding a nice solution with a nice API, for our needs. Is to remove the internal usage of virtualised lists and leave that up to the developer with a render prop. |
After swapping out react-tiny-virtual-list for react-virtualized using the CellMeasurer and AutoSizer components. Dynamic heights with the render prop are possible. |
That's awesome, that's really what i need. Maybe even pass a object with all the strings you can change, with your values as defaults. |
Yeah I can make a prop for that, no problem. See #29 |
I think there are only 2 hard coded strings:
Do you think the prop would suffice? @AndreBastos23 |
Version
Here's what went wrong:
Is it possible to set the item height as auto? I have diferent values coming from the DB and right now they are overlapping each other, since there is strings that contain only a few characters, and some that are more long.
Very good library btw :)
The text was updated successfully, but these errors were encountered: