react-trello
react-trello copied to clipboard
How to avoid infinite Scrolling
Infinite pagination and latest card unreachable
Using the 'onLaneScroll' property Paginate work fine until we fetch latest data. 1 Scrollbar is pull up and latest card is not visible 2 Move scrollbar down to see latest card 3 paginate is call to fetch next data 4 No more data but scrollbar is pull up and latest card is not visible again 5 and so on
Expected behavior Get a way to prevent paginate and redraw when no more cards available. Allow acces to the latest card
V2.2.6
Same problem here. Maybe it's possible to add a property "disableLaneScroll" on the lane options? Or at the Board object an extra prop "canScroll" which expects a function that returns a boolean value?
Same here... has anyone found a solution?
I have fixed this issue (I think) can you review pr https://github.com/rcdexta/react-trello/pull/430
is it fixed?