dash-draggable icon indicating copy to clipboard operation
dash-draggable copied to clipboard

add bounds?

Open Lkruitwagen opened this issue 4 years ago • 3 comments

Hi @xhlulu @SterlingButters, awesome dash component!

I was wondering if it would be easy to add the bounds property per https://www.npmjs.com/package/react-draggable? Would be great to be able to limit the area within which a user can rearrange components. Or could you point me to where I might be able to submit a pull request with the addition? I don't know js very well but could try it out?

Thanks!

Lkruitwagen avatar Dec 21 '20 00:12 Lkruitwagen

@Lkruitwagen It probably would not be too difficult but I am not sure when I will be able to set aside this time. You are welcome to submit a pull request if you figure it out.

SterlingButters avatar Dec 21 '20 16:12 SterlingButters

Hi @SterlingButters okay no worries! Is there a place where I should get started? Even if you can take 5 minutes to point me in the right direction that would be super helpful! As I mentioned, I'm not profficient with JS. Thanks!

Lkruitwagen avatar Dec 21 '20 17:12 Lkruitwagen

I would start here

SterlingButters avatar Dec 21 '20 18:12 SterlingButters