GWT Disclosure面板错误

时间:2013-01-20 12:40:51

标签: google-chrome gwt

我有一个GWT Disclosure面板,当点击公开按钮时,它在无限循环中在打开和关闭状态之间进行动画制作。但这似乎只发生在Chrome浏览器中,而不是Safari或Firefox。有谁知道这是关于什么的?

DisclosurePanel disclosurePanel = new DisclosurePanel("Reset password");
    disclosurePanel.setAnimationEnabled(true);
    disclosurePanel.setContent(passwordGrid);
    disclosurePanel.addOpenHandler(new OpenHandler<DisclosurePanel>() {

        public void onOpen(OpenEvent<DisclosurePanel> event) {
            saveButton.setEnabled(false);//enable on close or after verifying current password

        }
    });
    disclosurePanel.addCloseHandler(new CloseHandler<DisclosurePanel>() {

        public void onClose(CloseEvent<DisclosurePanel> event) {
            saveButton.setEnabled(true);

        }
    });

1 个答案:

答案 0 :(得分:0)