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

How to add alignment guides in react-rnd? #964

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

How to add alignment guides in react-rnd? #964

qingfengmy opened this issue Jan 24, 2025 · 0 comments

Comments

@qingfengmy
Copy link

Hello,

I’m using react-rnd 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