AUI datepicker calendar not closing on TAB

Steps -

  1. Add two datepicker elements on a form.
  2. Try tabbing through the form.
  3. After tabbing from the first datepicker element it leaves its calendar dialog open.
  4. This calendar does not close by any means.

See this code pen for demo -

Single datepicker on a form works properly.
How to prevent this behaviour?

Hi @sagar,

This looks like a bug introduced in AUI 8.2.0 - I am unable to reproduce this when using the same code in AUI 7.4.0 (

I have raised to track its resolution.