Skip to content

Commit

Permalink
removed appending sortable to parent component behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rafawendel committed Dec 22, 2020
1 parent 9e01b2d commit 163fb6f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions viz-lib/src/components/sortable/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ export function SortableContainer({ disabled, containerComponent, containerProps
} else {
// Enabled state:

// EXPERIMENTAL: having the helper attached to document body eliminates mispositioning
// - use container element as a default helper element
// wrapperProps.helperContainer = wrap(wrapperProps.helperContainer, helperContainer =>
// isFunction(helperContainer) ? helperContainer(containerRef.current) : containerRef.current
// );

// - hook drag start/end events
wrapperProps.updateBeforeSortStart = wrap(wrapperProps.updateBeforeSortStart, (updateBeforeSortStart, ...args) => {
setIsDragging(true);
Expand Down

0 comments on commit 163fb6f

Please sign in to comment.