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

Make Drag and Drop behave more natural #28

Open
bewee opened this issue Nov 2, 2020 · 2 comments
Open

Make Drag and Drop behave more natural #28

bewee opened this issue Nov 2, 2020 · 2 comments
Labels
editor Concerns the editor view front end Concerns code running in the client's web browser thoughts Further thoughts needed

Comments

@bewee
Copy link
Owner

bewee commented Nov 2, 2020

The current approach for DnD feels quite unnatural. As #10 outlines, this may cause elements to be deleted or moved just on click.

That's most likely mainly due to the fact that on click, elements get moved so that their center is at the mouse position. This behaviour should be changed so that the cursor location remains the same relative to the element during drag.

@bewee bewee added the enhancement New feature or request label Nov 2, 2020
@bewee
Copy link
Owner Author

bewee commented Feb 7, 2021

Problem: Size of the block/card currently dragged changes depending on what it hovers above

@bewee bewee added editor Concerns the editor view front end Concerns code running in the client's web browser thoughts Further thoughts needed and removed enhancement New feature or request labels Feb 7, 2021
@jaller94
Copy link

To save the next gamer 5 minutes of their time:

  • DnD = Drag and Drop
  • DnD != Dungeons and Dragons

@bewee bewee changed the title Make DnD behave more natural Make Drag and Drop behave more natural Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Concerns the editor view front end Concerns code running in the client's web browser thoughts Further thoughts needed
Projects
None yet
Development

No branches or pull requests

2 participants