Finally, I modified like below in HorizontalModeTrait. :smile:
_getElementSize: function _getElementSize() {
if (!this._currentElementSize) {
// this._currentElementSize = this.getBoundingClientRect().width;
this._currentElementSize = this.clientWidth;
}
return this._currentElementSize;
},