Skip to content

DragDrop Autoscroll feature not working with Material Table #16677

Open
@woteska

Description

@woteska

Relates to #16382

Reproduction

https://stackblitz.com/edit/angular-qczaca

Steps to reproduce:

  1. Try dragging a row to the edge of its container.
  2. You can see that Material Table cannot be autoscrolled while a simple container can be... (like the div in the Stackblitz example).

Expected Behavior

I can use autoscroll feature with Material Table as well.

Actual Behavior

Autoscroll does not work with Material Table.

Environment

Angular, CDK/Material:

    "@angular/animations": "~8.2.0",
    "@angular/cdk": "~8.1.2",
    "@angular/common": "~8.2.0",
    "@angular/compiler": "~8.2.0",
    "@angular/core": "~8.2.0",
    "@angular/forms": "~8.2.0",
    "@angular/material": "^8.1.2",
    "@angular/platform-browser": "~8.2.0",
    "@angular/platform-browser-dynamic": "~8.2.0",
    "@angular/router": "~8.2.0",
    "hammerjs": "^2.0.8"
    "@angular-devkit/build-angular": "~0.802.0",
    "@angular/cli": "~8.2.0",
    "@angular/compiler-cli": "~8.2.0",
    "@angular/language-service": "~8.2.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions