feat(ui): update drag to use drag overlay#16513
Merged
PatrikKozak merged 4 commits intomainfrom May 7, 2026
Merged
Conversation
22 tasks
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
Contributor
|
Arrays seem to have transitions when dragging, seems like a better ux that we should implement for the blocks as well. |
Member
Author
Updated! |
JarrodMFlesch
added a commit
that referenced
this pull request
May 7, 2026
## General - [x] Error state red border should not be overridden by hover state border ### Relationship - [x] Create button 1px lower than input (Only on `poly relationships`) - [x] Menu group labels misaligned - can repro ### Date - [x] Date picker window blinks when selecting a value - [x] Picker should not auto-close when selecting a time - [x] When tz is enabled its making the calendar icons out of place ### Text - [x] User danger-strong border for error state ### Tabs - [x] Border line not fixed when scrolled - [x] Nested tabs border line extends past container - [x] Nested tabs misaligned (extra inline padding) - [x] Change description bottom padding to spacer-3 ### Group - [x] Add 8px more above and below divider line - [x] Divider line spacing is off on mobile ### Radio - [x] Remove transition ### Checkbox - [x] Remove transition - [x] Only use focus state for tabbing, otherwise just set to selected styling ### Point - [x] Error state only shows when both inputs are empty, show if either is empty ### Upload - [x] Incorrect dashed line on drop zone - Fixed with #16422 - [x] “or” between create and choose existing is misaligned - Fixed with #16422 ### Blocks - [x] have the collapsible toggle hover state go away when hovering/focusing on section title input - [ ] ~~Reordering blocks looks kinda shitty when they are different heights, we should try to match lexical reordering behavior if possible~~ (**Addressed in** [PR](#16513)) ### Array - [x] Spacing between nested fields should be spacer-3 - cannot repro, awaiting input --------- Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com> Co-authored-by: Jessica Rynkar <jrynkar@figma.com>
PatrikKozak
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
arrayandblockfields to use thednddrag overlay and improve UX.Changes include the addition of a drag overlay preview, improved cursor handling, and better visual indication of dragging state.