not able to set focus on TextBox in a GWT app

后端 未结 4 1188
别跟我提以往
别跟我提以往 2021-02-02 10:53

This should not be causing me so much pain but it is. It is a very weird problem. In a GWT application, I have two .java files, login.java and application.java. In login.java, I

4条回答
  •  长情又很酷
    2021-02-02 11:21

    Why using DefferedCommand, I think it's better to use someWidget.getElement().focus() which is a native Javascript. I'm using it everywhere, I've not seen any problem.

提交回复
热议问题