This PR fixes the dropdown resize problems we had with some edge cases, the most common was that when opening a dropdown that is placed near the bottom end of the screen the dropdown would shrink to a ridiculously small height instead of flipping. With this PR we implement a mechanism that respects all of the existing behaviors while fixing this edge case, and most of all allows for the incoming refactor on harmonization of dropdown content width. Before : https://github.com/user-attachments/assets/6da3b291-e60c-4353-94fb-45fef55ee0e1 After : https://github.com/user-attachments/assets/c9fd9a34-f5de-4701-a301-08cba1eafdad Fixes https://github.com/twentyhq/core-team-issues/issues/980