idoros/zeejs

Re-focus of a hidden saved element

Closed this issue · 0 comments

When a backdrop layer is closed there is an attempt to find a lower layer with a saved focused element to re-focus.

The issue is that currently even if an element is hidden it is still considered a valid element to re-focus.

It should skip hidden, non focusable, elements and search for a lower candidate to re-focus.