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

Don't move the window while dragging a block #36457

Open
TheRadicalDreamer opened this issue Nov 12, 2021 · 4 comments
Open

Don't move the window while dragging a block #36457

TheRadicalDreamer opened this issue Nov 12, 2021 · 4 comments
Labels
[Feature] Drag and Drop Drag and drop functionality when working with blocks General Interface Parts of the UI which don't fall neatly under other labels. [Type] Enhancement A suggestion for improvement.

Comments

@TheRadicalDreamer
Copy link

What problem does this address?

When taking and dragging a block around. At the moment i take the 6-dot mark, the window begins to scroll up or down depending on which half of the screen i am.
This is not only annoying on certain situations, but makes moving almost impossible on certain others.
For example, when i am trying to target a certain point in between blocks.

What is your proposed solution?

I would love that the scrolling of the window begins on the top and the bottom of the screen, but no in the middle.

That way we can move things around without the window scrolling immediately.

Screen recording 2021-11-12 18.47.26.zip

@annezazu annezazu added [Feature] Drag and Drop Drag and drop functionality when working with blocks [Type] Enhancement A suggestion for improvement. General Interface Parts of the UI which don't fall neatly under other labels. labels Nov 18, 2021
@kevin940726
Copy link
Member

Seems like this is the desired behavior introduced in #23082. I personally found it counter-intuitive too but it seems like others are happy about the change. Would love to know what improvements or trade-offs we can make, maybe we should only trigger the scroll in a narrower threshold? c.c. @gravityrail and @talldan

@TheRadicalDreamer
Copy link
Author

Yes exactly!

I do like the movement, but not immediately.

It should be over a threshold. Maybe top 20% of the screen and bottom 20% of the screen?

@talldan
Copy link
Contributor

talldan commented Sep 27, 2022

the window begins to scroll up or down depending on which half of the screen i am.

It should be that if you move your mouse up above the point on the screen where you started dragging from the page starts scrolling up, and if you move it down below where you start dragging from the page starts scrolling down. I think that's similar to how a middle-click to scroll used to work on Windows (it may still work like that, I haven't tested it in a while).

It should be over a threshold. Maybe top 20% of the screen and bottom 20% of the screen?

Yeah, I proposed that as an option (#23446), though the preference was for the way it currently works. It could be worth revisiting now that more time has passed and there's been more usage. That pull request might be easy to resurrect, as I don't think the code has changed much.

It is pretty easy to change the way this feature works, the hard part is finding an option that's generally agreeable.

@TheRadicalDreamer
Copy link
Author

@talldan and @gravityrail i am honestly fine with any percentage is set. But I believe 20% for the top and bottom is fine, because it leaves you 60% of the center screen to move around freely with the screen scrolling, ultimately allowing you to precisely move the block.

Who do we need to call to make this a feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Drag and Drop Drag and drop functionality when working with blocks General Interface Parts of the UI which don't fall neatly under other labels. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants