Skip to content

bug(Scrolling,DragDrop): Dragging with scrolling dont work as expected when placed inside ViewEncapsulation.ShadowDom container #22939

Closed
@kmiasko

Description

@kmiasko

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-ivy-bdyprt

Steps to reproduce:

  1. Drag an item down
  2. Wait for scroll to fire

Expected Behavior

Element should be placed over / under element that dragged item is on

Actual Behavior

Element is placed over / under other element, like the scroll never happened

Environment

  • Angular: 11.2.14
  • CDK/Material: 12.0.4
  • Browser(s): Chrome
  • Operating System Windows

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/drag-drop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions