Skip to content

ConnectedPositionStrategy should apply the "closest" fallback position #2049

@kara

Description

@kara

Currently, if none of the preferred positions fit in the viewport, the ConnectedPositionStrategy will simply apply the first preferred position. The next step in its implementation would be to keep track of how far each position is from fitting in the viewport, and apply the "best fit" position if none of them fit.

cc: @jelbourn

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