react-trello icon indicating copy to clipboard operation
react-trello copied to clipboard

How to avoid infinite Scrolling

Open lowent opened this issue 4 years ago • 4 comments

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

lowent avatar Jul 15 '20 14:07 lowent

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?

oliviervanbulck avatar Jan 29 '21 08:01 oliviervanbulck

Same here... has anyone found a solution?

orlandovallejos avatar Feb 02 '21 21:02 orlandovallejos

I have fixed this issue (I think) can you review pr https://github.com/rcdexta/react-trello/pull/430

gevhambarzumyan93 avatar Feb 03 '21 10:02 gevhambarzumyan93

is it fixed?

marcellobc avatar Jun 16 '21 00:06 marcellobc