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

List View: Subtle visual issues with displacement dragging #59937

Open
andrewserong opened this issue Mar 18, 2024 · 0 comments
Open

List View: Subtle visual issues with displacement dragging #59937

andrewserong opened this issue Mar 18, 2024 · 0 comments
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Bug An existing feature does not function as intended

Comments

@andrewserong
Copy link
Contributor

Part of #49563 and related to #56539

In WordPress 6.5, the list view drag and drop behaviour was updated to introduce the idea of displacing list view items while dragging (implemented in #56625). The current implementation has a couple of wrinkles or subtle visual issues:

  • When dragging a block from a position to another, the list animates smoothly excepts the block being dragged, you see a quick "jump" to the new position
  • When dropping the block, the positions are already correct but you still see an unnecessary animation

(Kudos @youknowriad for flagging these)

Here is a quick demo of the current state:

2024-03-18.11.06.47.mp4

My hunch is that the best path forward is likely to roll in fixes for these issues as part of the work in resolving #56539 (making the drag chip resemble the list view item). I have an earlier WIP PR exploring this over in #58103 — I'm hoping to either dust off that PR or begin a new one for the WP 6.6 cycle, but don't let that stop anyone, if anyone would like to jump in and explore ideas for this in the meantime.

@andrewserong andrewserong added [Type] Bug An existing feature does not function as intended [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant