Skip to content

CDK Drag and Drop: Auto Scroll Disabled not working from v8 on Firefox #20381

Open
@onyx75

Description

@onyx75

From the official sorting example, I made the list scroll by adding max-height: 180px and overflow: auto, and added the cdkDropListAutoScrollDisabled input attribute on the drop list.

Reproduction

StackBlitz to reproduce the issue:
https://stackblitz.com/edit/angular-1e8ljd?file=src/app/cdk-drag-drop-sorting-example.html

Steps to reproduce:
Drag an item to the edges

Expected Behavior

No auto scroll when close to the edges

Actual Behavior

Auto scroll is not disabled

Environment

  • Angular: from v8
  • CDK/Material: from v8 (v7 working fine)
  • Browser(s): seems to be just with Firefox (tested on Firefox 79.0 64-bit)
  • Operating System (e.g. Windows, macOS, Ubuntu): tested on macOS only

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/drag-dropfirefoxThis issue is specific to the Firefox browser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions