Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bounds? #10

Open
Lkruitwagen opened this issue Dec 21, 2020 · 3 comments
Open

add bounds? #10

Lkruitwagen opened this issue Dec 21, 2020 · 3 comments

Comments

@Lkruitwagen
Copy link

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!

@SterlingButters
Copy link
Collaborator

@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.

@Lkruitwagen
Copy link
Author

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!

@SterlingButters
Copy link
Collaborator

I would start here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants