bug
Menu shouldn't get unnecessarily shrinked after resizing window to height smaller than menu's content height and then back.
Menu's size (height) remains limited by the former window size, even though the window's height is larger than menu's content again.
It can be easily reproduced on the official menu example from docs. https://stackblitz.com/angular/vrrbgbpjore
Albeit it's kind of corner-case, it may get menu into unusable state and re-opening the menu doesn't solve the issue.
Tried chrome and firefox and both behaved the same way.
For some reason it doesn't happen every time. Sometimes I can resize the window however I want and it still works fine, sometimes it shrinks and stays shrinks on every resize.



I've tried your stackblitz demo on Chrome 66.0.3359.181 and also 67.0.3396.62 (64 bits). I could not reproduce it. I'm using a Windows 10 machine. Any specificity?

I am on 66.0.3359.139 Arch Linux (64-bit), but my colleagues were able reproduce it on both Windows 10 and Mac OS machines as well. We just noticed it gets fixed when you resize the window so much that the menu disappears. Could you try to resize the window only so the scrollbar appears and resize the window back to the original size? Other than that we are doing the same thing as you in your screencap. We'll also provide screencap in a moment.
Here's a reproduction video, Chrome 66.0.3359.181 Win10:

I'd like to point out, that once the menu is completely wiped by the resize, it fixes itself even when it's closed and reopened.
Ok, no matter what I do, I'm not able to reproduce it on Chrome on my machine. But I was able to easily reproduce it on Firefox (also, notice an awkward focus outline when the menu is opened):

I Have same issue. if any solution is exist then please help.
::ng-deep .cdk-overlay-connected-position-bounding-box {
min-height: 300px; // or whatever min height you need
}
This was fixed in master a while ago. Closing.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Ok, no matter what I do, I'm not able to reproduce it on Chrome on my machine. But I was able to easily reproduce it on Firefox (also, notice an awkward focus outline when the menu is opened):