Group Focus is hided when AirDate/Time Picker is clicked - simple workaround

I am building a filtering control that is based on Group Focus. Inside the Group Focus, I use the AirDate/Time Picker for selecting the date. The issue is that when the date picker is clicked the Group Focus is closed.

I found a similar discussion on the forum with no solution:
Selecting A Date From Inside A Group Focus Closes The Group Focus

The solution:

  1. Add a custom state (y/n) for storing the visibility state of the date picker (Date picker visible = yes/no).
  2. Add a workflow that sets the custom state to “yes” every time the date picker is shown.
  3. Add a workflow that sets the custom state to “no” every time the date picker is hidden.
  4. Add a workflow that when the condition is true - the Group Focus is not visible and the custom state is “yes” → show the Group Focus.

2021-03-27 23.14.23

UPD: This workaround works only in Safari and Firefox. In Chrome/Edge /Brave the date picker is hided after every click and it make it not usable.