Skip to content

Snap elements between them #1971

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
NicolasLeboeuf opened this issue Jun 2, 2022 · 4 comments
Open

Snap elements between them #1971

NicolasLeboeuf opened this issue Jun 2, 2022 · 4 comments
Labels
enhancement managed on taiga This issue has been moved to our project at Taiga.io

Comments

@NicolasLeboeuf
Copy link

Is your feature request related to a problem? Please describe.
I always have troubles to snap properly my elements. Please see the video.

Describe the solution you'd like
When I move an element near of another one, I expect my element with try to snap on the near element, not one out of the screen.

Describe alternatives you've considered

  • More options in the snapping options?
  • Snap only with displayed elements, not off-screens elements.

Additional context
My Rect-1 has the same size as my icon box. I juste want to align them. And as you can see, my Rect-1 snaps with everything but my icon.

I don't want to have to use the alignement buttons everytime.

Note that it works slightly better if I zoom out, which makes no sense (there are more elements to display, then more opportunities to snap).

Dashboard.-.Penpot.-.Google.Chrome.2022-06-02.14-38-02.mp4
@myfunnyandy myfunnyandy added the managed on taiga This issue has been moved to our project at Taiga.io label Jun 6, 2022
@myfunnyandy
Copy link
Contributor

Hi @NicolasLeboeuf,

It seems in your video that the shape is being aligned with other elements that are not in sight. This is far from convenient so we decided to prevent the dynamic alignment to snap to elements that are not in plain view. We created a user story to tackle this problem eventually.

Thanks for taking the time to explain the issue!

@NicolasLeboeuf
Copy link
Author

That's perfect, thanks :)

@adambelis
Copy link

i could be wrong this is also snapping to the edge of icon but it has white strke so you don't see it

@NicolasLeboeuf
Copy link
Author

In this case, my icon doesn't have a border

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

3 participants