@Override
    protected boolean requestKeyboardFocus(Widget child) {
        if (child != null && state != null) {
            state.keyboardFocusLost();
        }
        return super.requestKeyboardFocus(child);
    }