[Bug] Focus stays on first Element when with picker

I noticed a little bug while developing a form

When filling out the form and switching frome one input to the other this will happen when the 2nd Input is a Picker (colorPicker, calender, time what ever)

The Focus stays on the first Input which causes the Keyboard to not hide!

To avoid this, the user has to click outside ( change focus on a non input element) and than use the picker element.

Anyone got an idea on how to fix that?

In case you have not found it out, what i did was to put a small jQuery focus line inside the picker definition. In short: on opening this picker, focus on this input.

            on: {
          opened: function () {
            $( "#nameOfMyInput" ).focus();