fix(ihm): calendar picker is closed on blur (refs #4898)

it is displayed on top of the input if no place in bottom and if free space in top of the input
Merge pull request #1248 from eguaj/3.3-A4898

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