defaultSelection has no effect on 'timegrid'

In a Datepicker component with prop controls={['time']}, the defaultSelection prop has the expected effect in the popup.

However, if prop controls={['timegrid']}, defaultSelection has no effect whatsoever. I would have expected, for example. that the timegrid popup would scroll down to the default time and the default time cell to be visually distinct from all the other cells.

How can get the expected behaviour in timegrid?

Hi @BRbase

The defaultSelection is not going to work, indeed. What you can try is scroll the element to a specific position in the onOpen method:

onOpen={(args, inst) => {  document.getElementsByClassName('mbsc-datepicker-tab-timegrid')[0].scroll(0, 250);}}

Let me know if this helps.