fix(ihm): calendar picker is closed on blur (closes #4885)

it is displayed on top of the input if no place in bottom and if free space in top of the input