Skip to content

How to add alignment guides in react-draggable? #775

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

Open
qingfengmy opened this issue Jan 23, 2025 · 0 comments
Open

How to add alignment guides in react-draggable? #775

qingfengmy opened this issue Jan 23, 2025 · 0 comments

Comments

@qingfengmy
Copy link

Hello,

I’m using react-draggable for a project and would like to add alignment guides (similar to the snapping or ruler guides in design tools like Figma or Photoshop) to help users align draggable elements.

Could you please guide me on how to implement this feature? Specifically:

Does the library provide built-in support for alignment guides?
If not, is there a recommended approach to achieve this (e.g., custom event listeners or integration with external libraries)?
Are there any examples or related resources you can share?
Thank you for your time and for maintaining this great library!

Best regards,

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

1 participant