首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GWT Disclosure面板错误

GWT Disclosure面板错误
EN

Stack Overflow用户
提问于 2013-01-20 20:40:51
回答 1查看 247关注 0票数 0

我有一个GWT Disclosure面板,当点击disclosure按钮时,它会在打开和关闭状态之间进行无限循环。但这似乎只在Chrome浏览器中发生,而不是Safari或Firefox。有人知道这是怎么回事吗?

代码语言:javascript
复制
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);

        }
    });
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-01-21 00:41:05

这是在最新的chrome浏览器中报告的问题- http://code.google.com/p/chromium/issues/detail?id=158910

相关信息- https://code.google.com/p/google-web-toolkit/source/detail?spec=svn10989&r=10989

其他堆栈溢出答案- GWT DeckLayoutPanel animation goes into infinite loop on Chrome

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14424636

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档