-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(drag-drop): scrolling on mobile blocked for disabled drag handle #20974
Labels
area: cdk/drag-drop
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added
area: cdk/drag-drop
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triage
This issue needs to be triaged by the team
labels
Nov 9, 2020
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 9, 2020
Currently we disable native drag interactions on handles once when they're registered, however this can block scrolling on mobile devices if the handle is inactive (either it is disabled or the drag element is disabled). These changes toggle the state dynamically depending on the active state. Fixes angular#20974.
wagnermaciel
pushed a commit
that referenced
this issue
Nov 17, 2020
…#20991) Currently we disable native drag interactions on handles once when they're registered, however this can block scrolling on mobile devices if the handle is inactive (either it is disabled or the drag element is disabled). These changes toggle the state dynamically depending on the active state. Fixes #20974.
wagnermaciel
pushed a commit
that referenced
this issue
Nov 17, 2020
…#20991) Currently we disable native drag interactions on handles once when they're registered, however this can block scrolling on mobile devices if the handle is inactive (either it is disabled or the drag element is disabled). These changes toggle the state dynamically depending on the active state. Fixes #20974. (cherry picked from commit f133210)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
wagnermaciel
pushed a commit
to wagnermaciel/components
that referenced
this issue
Jan 14, 2021
…angular#20991) Currently we disable native drag interactions on handles once when they're registered, however this can block scrolling on mobile devices if the handle is inactive (either it is disabled or the drag element is disabled). These changes toggle the state dynamically depending on the active state. Fixes angular#20974.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: cdk/drag-drop
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
A cdkDropList (any kind of drag-drop-countainer would most likely have this issue as well) with disabled cdkDrag items which have a drag handle inside.
https://angular-st9rbb.stackblitz.io/
https://stackblitz.com/edit/angular-st9rbb?file=src%2Fapp%2Fcdk-drag-drop-disabled-example.html
Steps to reproduce:
Expected Behavior
Scrolling (with a touch screen) is possible, even on the drag handle if the cdkDrag item is disabled.
Actual Behavior
Scrolling is impossible, because the drag handle blocks scrolling, even if it is disabled:
Environment
The text was updated successfully, but these errors were encountered: