Skip to content

OverlayRed 'updatePositionStrategy' does not remove offsets #14657

@alexandercarls

Description

@alexandercarls

What is the expected behavior?

When calling updatePositionStrategy The previous strategy must be completely removed.

What is the current behavior?

The offset value of a position flexibleConnectedTo does not get removed when the position strategy gets updated.

What are the steps to reproduce?

https://stackblitz.com/edit/overlayref-positionstragy-bug

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Tested with Material Version 7.0.1 and 7.2.0

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