Skip to content

[drag-drop] cdkDragBoundary positions not updating during viewport scrolling #18597

Closed
@Achilles1515

Description

@Achilles1515

Reproduction

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

Expected Behavior

cdkDragBoundary should always be honored. The cached boundary positions appear to not be updating during viewport scrolling, producing phantom edges and/or enabling dragging outside of the boundary. See below gif.

Actual Behavior

GIF

Environment

  • Angular: 9
  • CDK/Material: 9.0.1
  • Browser(s): all

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions