Date picker stays open when the field isn't focused

Description

When entering a field that is tied to a datepicker, the calendar appears. And once it appears, one can hit the tab key to make it disappear. I'd like to make two suggestions.

Firstly, could we add some kind of option that avoids the need to hit the tab key twice. Better yet, could we remove this feature altogether?

Secondly, there is an edge case which isn't processed properly. If you tab in, and immediately tab out (before the calendar is finished displaying), the calendar continues to open... and it stays open. (You need to click somewhere in the screen to make it disappear.)