Browse Source

Pull request #234306: BI-125050 【6.0.9冒烟】火狐浏览器,组件产生滚动条时没办法调整最后一列的组件宽度

Merge in DEC/fineui from ~DAILER/fineui-decision:release/11.0 to release/11.0

* commit 'bc0b168b3bc53fc7a591cbb0280a4082a392d131':
  BI-125050 【6.0.9冒烟】火狐浏览器,组件产生滚动条时没办法调整最后一列的组件宽度
research/test
Dailer-刘荣歆 2 years ago
parent
commit
14a1dd611f
  1. 2
      src/core/platform/web/dom.js

2
src/core/platform/web/dom.js

@ -109,7 +109,7 @@
// 获取滚动条的宽度,页面display: none时候获取到的为0
getScrollWidth: function (css) {
if (BI.isNull(this._scrollWidth) || this._scrollWidth === 0) {
if (BI.isNull(this._scrollWidth) || BI.isNotNull(css) || this._scrollWidth === 0) {
var ul = BI.Widget._renderEngine.createElement("<div>").width(50).height(50).css({
position: "absolute",
top: "-9999px",

Loading…
Cancel
Save