Taskboard doesn't scroll automatically when dragging a card

1 Answer 129 Views
TaskBoard
Megan
Top achievements
Rank 1
Megan asked on 09 Jun 2023, 10:17 PM

I've been asked to add this scroll behavior to the taskboard, so that when a user drags a task card horizontally (or vertically), and there is a scroll bar, it auto scrolls in that direction so the user doesn't have to drop the card, manually scroll, and move the card again to the desired column.

I can't tell if I've missed something in the implementation or if this is a feature that has not been added yet. 

I managed to get it to scroll by grabbing the card with selected/highlighted text but I think this is just a hack: https://gyazo.com/b4b6e7cf539a34a361a4052768ffe59c 

This is a link to the demo provided in the docs I've been using to test the behavior: https://dojo.telerik.com/iTIViRAB/18

1 Answer, 1 is accepted

Sort by
1
Accepted
Nikolay
Telerik team
answered on 14 Jun 2023, 10:29 AM

Hi Megan,

Scrolling the component while dragging an item is currently not supported, however, there is already a feature request for this. I recommend casting your vote for it at the below link:

A possible approach would be to add some custom logic in the move event to scroll the TaskBoard programmatically. 

Example Dojo: https://dojo.telerik.com/eyesaREB

This custom logic, however, is not supported and might lead to unexpected side effects.

Regards,
Nikolay
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.
Tags
TaskBoard
Asked by
Megan
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or