You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can scroll the page when dragging blocks but the threshold for activating the scroll is very small. It is perhaps about 30px threshold which may mean
people don't discover it
it's difficult to access for people with certain accessibility needs
What is your proposed solution?
Increase the threshold.
Screen.Capture.on.2024-12-04.at.11-20-33.mp4
The text was updated successfully, but these errors were encountered:
Hi @getdave, unfortunately, I did not get luck on this one. I tried to understand what makes the editor scroll while dragging. Initially, I thought it was the code on packages/block-editor/src/components/block-draggable/use-scroll-when-dragging.js but it is not that code, even removing that code scrolling while dragging from the inserter happens.
It seems like the browser is the one doing the scroll while we drag from the inserter so we don't have much control of this. We may need to implement some custom logic to make the scroll happen with a threshold we can configure.
I'm unassigning this one for now in case someone wants to explore or has an idea to fix this.
What problem does this address?
Currently you can scroll the page when dragging blocks but the threshold for activating the scroll is very small. It is perhaps about 30px threshold which may mean
What is your proposed solution?
Increase the threshold.
Screen.Capture.on.2024-12-04.at.11-20-33.mp4
The text was updated successfully, but these errors were encountered: