-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix drag and drop to empty block lists #23923
Conversation
Size Change: 0 B Total Size: 1.14 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as described, thank you!
In Media & Text, the empty block list is only 8px high, and the user has to drag over this tiny element before being able to drop.
In Group, the Button Appender doesn't highlight very clearly as a drop target—it shows a border above it like other drop targets. I feel like this might have regressed separately at some point.
I think the drop area in Media & Text block should be the entire space to the right of the media, not just the actual space occupied by the empty block list. What do you think?
Description
Since #23020, dragging to an empty block lists hasn't worked.
This PR fixes the issue, though I think there are two separate issues that could improve the situation further:
I'll also start writing some E2E tests so that there's coverage for some of these complex behaviors.
How has this been tested?
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: