In Unity2021.3.19f1c1 Deactived InputField reactive input method not back!

In the scene put an InputField and a button, enter a paragraph of Chinese click on the button will clear the InputField and Deactive it (point after do not move the mouse), after a while and then call the Active method of it, the results found that the input method will not be switched back to Chinese, and then you casually move the mouse it will be switched back to Chinese. I put the script here, please help to see, thank you very much!

public class TestKeyboard : MonoBehaviour
{
    public InputField NameTF;
    public Button SendButton;

    void Start()
    {
        StartCoroutine(RepeatTimer());
        SendButton.onClick.AddListener(() =>
        {
            ClearText();
        });
    }

    private IEnumerator RepeatTimer()
    {
        int i = 0;
        while (true)
        {
            Debug.Log("Timer action -->> " + (i + 1).ToString());

            if (!NameTF.isActiveAndEnabled)
            {
                NameTF.enabled = true;
                NameTF.ActivateInputField();
                NameTF.gameObject.SetActive(true);
                EventSystem.current.SetSelectedGameObject(NameTF.gameObject);
            }

            yield return new WaitForSeconds(15);

            i++;
        }
    }

    private void ClearText()
    {
        NameTF.DeactivateInputField();
        NameTF.text = string.Empty;
        NameTF.enabled = false;
    }
}