Skip to content

Overlay position withFlexibleDimensions not working properly #18486

@keatkeat87

Description

@keatkeat87

in file flexible-connected-position-strategy.ts
image
the code direct use minWidth to do compare, but the minWidth may be string e.g. '100px'
so the compare result will always is false. this will cause the position wrong.

in file overlay-ref.ts
image

in file overlay-config.ts
image

  • Angular: 9.0.1
  • CDK/Material: 9.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