[client] Tell react-select to place the menu above or below the input automacically.
Before the MR, when the select is at the bottom of the page, the menu is displayed outside the viewport(by default the menu is displayed below: search menuPlacement
in https://react-select.com/props):
The screenshot was taken when opening a select at the bottom of the visible list.
This MR allows menu to be showed at the most appropriate location, depending on the available space :