neodrag icon indicating copy to clipboard operation
neodrag copied to clipboard

Unable to combine draggable with scrollable on mobile

Open Andrioden opened this issue 10 months ago • 0 comments

Problem I have an box that is draggable with a header+content part. I want the header part to be the drag-handle, and the content scrollable. However, since neodrag sets touch-action: none on the whole box, scrolling no longer work.

image

Solution / Workaround css


.box{
    touch-action: auto !important;
}

.box .header {
    touch-action: none;
}

.box .content {
    overflow-y: auto;
}

Andrioden avatar Apr 09 '24 20:04 Andrioden