esironal / dwz

Automatically exported from code.google.com/p/dwz
0 stars 0 forks source link

文本框无法聚焦的问题 #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 在上一个页面使用按钮打开信息录入TAB页面
2. 正常进行信息录入并保存,关闭该TAB页
3. 
再次点击按钮打开TAB信息录入页面,有一定几率出现信息录入�
��面的文本框即使使用鼠标点击也无法获得焦点,类似于disabled
效果
4.有时候很频繁,有时候却比较难重现.请见附件截图"文章标题
"后的文本框.无法使用鼠标获得焦点,也无法录入信息.所有的�
��本框都是.

What version of the product are you using? On what operating system?
不是很清楚JUI的版本,从一个论坛随便下载来的.操作系统Win7 
x64,同学反应在其Win7 
x86机器上出现同样现象,但访问的是我的机器运行的WEB服务.使
用JAVA语言开发服务端,Tomcat使用6.0.29,JDK版本1.6.0_12,数据库Oracl
e 11g.浏览器IE,火狐,360皆出现该现象.

请开发组前辈帮助解决此疑问,非常感谢.

Original issue reported on code.google.com by unicorn...@gmail.com on 12 Mar 2012 at 4:50

Attachments:

GoogleCodeExporter commented 8 years ago
补充一下,绝大多数出现该现象的情况下,使用一次键盘的制表
键就可激活文本框.

Original comment by unicorn...@gmail.com on 12 Mar 2012 at 4:52

GoogleCodeExporter commented 8 years ago
我也碰到相应的问题,chrome下正常,ie 
7,8,9都经常会出现这个问题

Original comment by wschac...@gmail.com on 9 Jul 2012 at 3:48

GoogleCodeExporter commented 8 years ago
我也遇到这个问题了,解决不了。

Original comment by afeng788...@gmail.com on 19 Jul 2012 at 1:51

GoogleCodeExporter commented 8 years ago
我是这样解决这个问题?
分析了原因,是IE 下对iframe的处理bug导致的,
可以这样做
   _closeTab: function (index) {
        this._getTabs().eq(index).remove();
 this._getPanels().eq(index).find("iframe").attr("src","");
this._getPanels().eq(index).find("iframe").remove();
        this._getPanels().eq(index).remove();
        this._getMoreLi().eq(index).remove();
        if (this._currentIndex >= index) this._currentIndex--;
        this._init();
        this._scrollCurrent();
        this._reload(this._getTabs().eq(this._currentIndex));
    },

Original comment by wschac...@gmail.com on 14 Aug 2012 at 3:20

GoogleCodeExporter commented 8 years ago
非常感谢各位对此问题的关注,我会抽空验证这个解决方法.
另外有个小小的疑问,为何iframe都要被remove了,还需要把他的src
赋值为空呢?

Original comment by unicorn...@gmail.com on 17 Aug 2012 at 2:01

GoogleCodeExporter commented 8 years ago
这个解决方法的代码是放在那里的??

Original comment by wangj...@gmail.com on 5 Sep 2012 at 7:41

GoogleCodeExporter commented 8 years ago
代码 我贴出来了,不知道 官方的解决方案是什么?
是否采纳我目前的解决方案

Original comment by wschac...@gmail.com on 5 Sep 2012 at 11:45

GoogleCodeExporter commented 8 years ago
我也 遇到了相同的问题,问题有正解了没?

Original comment by wujih...@163.com on 12 Sep 2012 at 3:39

GoogleCodeExporter commented 8 years ago
很遗憾,在代码修复了之后,我维护的项目的服务器发生了变更
,现在我不知道它的IP了,但是客户倒是没有跟我们项目组反馈�
��个问题依然存在的情况,不知道是不是解决了.不管怎么样,先
谢谢4楼的前辈.

Original comment by unicorn...@gmail.com on 5 Oct 2012 at 5:41