Skip to content
New issue

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

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

Already on GitHub? # to your account

Clicking a single item to deselect items makes the clicked item follow the cursor until clicked again (sticky element) #141

Closed
davidalejandroaguilar opened this issue Jun 28, 2023 · 2 comments
Labels
bug Something isn't working complete

Comments

@davidalejandroaguilar
Copy link

davidalejandroaguilar commented Jun 28, 2023

Environments

Description

When clicking a single item of selected items, the element sticks to the cursor and follows the mouse around until you click again.

The expected behavior is that the single click on one of the selected items, selects one item and the item doesn't automatically follow the cursor.

This happens in every example in the Moveable and Selecto storybooks too. Example here.

Screen.Recording.2023-06-27.at.11.39.20.p.m.mov

If you change selectFromInside to true, the issue is fixed, but now you can't click and drag a single item, you have to click and drag to select:

Screen.Recording.2023-06-28.at.12.02.11.a.m.mov
@daybrush daybrush added checking bug Something isn't working complete and removed checking labels Jun 30, 2023
daybrush added a commit that referenced this issue Jul 5, 2023
@daybrush
Copy link
Owner

daybrush commented Jul 5, 2023

@davidalejandroaguilar

selecto's new version is released. Check it again

@davidalejandroaguilar
Copy link
Author

Thank you very much!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working complete
Projects
None yet
Development

No branches or pull requests

2 participants