Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to combine draggable with scrollable on mobile #147

Open
Andrioden opened this issue Apr 9, 2024 · 0 comments
Open

Unable to combine draggable with scrollable on mobile #147

Andrioden opened this issue Apr 9, 2024 · 0 comments

Comments

@Andrioden
Copy link

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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant