Skip to content

Moving elements left/right does not work as expected #163

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
hellofrontendxxx opened this issue Feb 20, 2025 · 3 comments
Open

Moving elements left/right does not work as expected #163

hellofrontendxxx opened this issue Feb 20, 2025 · 3 comments

Comments

@hellofrontendxxx
Copy link

Describe the bug
I have a list of elements, if I set the width of an element to a decimal value (for example 254.66px), when I move back and forth between the elements it doesn't work properly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to item list
  2. Click on Left -> Left
  3. an element is omitted

Screenshots
https://github.com/user-attachments/assets/1bbb6768-1f8b-486b-9f41-8b34685ea3a0

Code
Image

@hellofrontendxxx
Copy link
Author

415088944-1bbb6768-1f8b-486b-9f41-8b34685ea3a0.mov

@christianEconify
Copy link
Contributor

Seems like the elements are too close together, if you create a gap between each item I imagine it should behave as expected

@predikament
Copy link
Collaborator

Hello @hellofrontendxxx, thanks for getting in touch.

As @christianEconify mentions, this is because your elements are basically overlapping.

In the future we intend to add a way to account for or configure an overlap "threshold", that should allow for avoiding this particular kind of issue, where the overlap is some negligible amount (like a few pixels or so).

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

3 participants