IE浏览器下DOM节点被替换后获取边界offsetParent / getBoundingClientRect 的BUG解决(版本 EXT 2.0/ 2.0.1)

BUG 症状:
拖动分割栏或resize的时候,出现"未指明的错误"

1.打开ext-base.js
2. 找到getBoundingClientRect()
3.替换为

// this is from the minified version
try{
M
=G.getBoundingClientRect();
N
=C(document).getScroll();
return[M.left+N.left,M.top+N.top];
}
catch(ex){
return [0,0];
}
}


 

原文地址:https://www.cnblogs.com/meetrice/p/1228718.html