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

Programmatically scroll within <Board> on a button click

Open code-matter opened this issue 2 years ago • 0 comments

We have a requirement to add scrolling buttons on our trello board. Currently, we have a scroll bar that's too far down and the user can't easily access it to scroll left/right within the <Board>.

The idea was to add to buttons to scroll left/right. However, I'm unable to achieve such result. Is there anything we could use to make this possible or maybe I'm simply missing something.

One idea I had but can't get it to work is to have a ref on each lanes within the <Board> and on click, move to the closest lane that is not in view.

code-matter avatar Jun 12 '23 18:06 code-matter