Setting maxHeight on overlay with flexibleConnectedTo strategy does not work, when viewport margin is also configured #17567
Labels
area: cdk/overlay
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
Steps to reproduce:
Expected Behavior
That the max height of 300px is respected in both cases
Actual Behavior
Max height is only respected, if
withViewportMargin(10)
is not configured.Environment
Version 78.0.3904.70 (Official Build) (64-bit)
macOS Mojave
Gif
Relevant code
The text was updated successfully, but these errors were encountered: