clauderic / clauderic/react-sortable-hoc

Freeze rows' position and add marker as an indicator of new position

Open
#618 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

Good day!
I'm trying to create a dnd list with
1. ghost element
2. marker that shows new position of the element
3. static list

I used hideSortableGhost to left ghost element.
But cannot understand how to freeze the list so I can show blue marker and drop the element.
I tried to fix it with styles `transform: translate3d(0, 0, 0)!important;`, but now DnD doesn't work, it doesn't set new position for dragged element.
Screenshot at Oct 14 13-52-31

Probably there is an example somewhere, I'd appreciate if someone will share it.
Thank you for help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.