LearnNewsExamplesServices
Frontmatter
id6507
titledraggable.toolbar.SortZone: onDragMove(), onDragStart() => smarter positioning logic
stateClosed
labels
enhancement
assigneestobiu
createdAtFeb 26, 2025, 10:40 PM
updatedAtFeb 26, 2025, 10:42 PM
githubUrlhttps://github.com/neomjs/neo/issues/6507
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 26, 2025, 10:42 PM

draggable.toolbar.SortZone: onDragMove(), onDragStart() => smarter positioning logic

Closed v8.26.0 enhancement
tobiu
tobiu commented on Feb 26, 2025, 10:40 PM
  • In case a tab.Container gets mounted into an absolute positioned parent, it can happen that the DOMRects no longer automatically match the parent positon
  • Example: examples.grid.bigData.ControlsContainer
  • To support such "edge cases", onDragStart() should subtract the parent rect x & y values from each item
  • onDragMove() then needs to honor it inside the delta check (also subtracting the owner rect)
tobiu added the enhancement label on Feb 26, 2025, 10:40 PM
tobiu assigned to @tobiu on Feb 26, 2025, 10:40 PM
tobiu referenced in commit bcd9088 - "draggable.toolbar.SortZone: onDragMove(), onDragStart() => smarter positioning logic #6507" on Feb 26, 2025, 10:41 PM
tobiu
tobiu Feb 26, 2025, 10:42 PM
tobiu closed this issue on Feb 26, 2025, 10:42 PM