Click to unfocusable VisualElement should not lose focus on currently focused element.

At least optionally.Because. Any focus events are not cancelable. Calling focus inside FocusInEvent/FocusOutEvent does nothing. Waiting ten years for adding this feature to UGUI. Ten years of rewriting EventSystem and here we go again.

Please look at this component as its clear the feature is here

No, it is not here. I am not using UGUI InputSystem. On legacy or on custom input handling system via events there is no mighty checkbox. And even if I will use UGUI input system this checkbox does not work for UI Toolkit, only for UGUI.

Return the package, I’ll fix it for myself. Waiting literally on line of code for 10 years is little bit.

        public virtual void Focus()
        {
            if (focusController != null)
            {
                if (canGrabFocus)
                {
                    var elementGettingFocused = GetFocusDelegate();
                    focusController.SwitchFocus(elementGettingFocused , this != elementGettingFocused);
                }
                else if(SomeSettingsClass.CanSelectUnfocusable) // Is it really that hard?
                {
                    focusController.SwitchFocus(null);
                }
            }
        }