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 - https://codepen.io/jsagar/pen/xNRyRd

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 (https://codepen.io/chrisdarroch/pen/ZNXGqM).

I have raised https://ecosystem.atlassian.net/browse/AUI-5014 to track its resolution.

Cheers,
Daz