我使用jsPanel和sortable()在我的网站上制作一些可拖动的面板。在IE11中,当我单击面板的滚动条并且只想滚动其内容时,实际上面板将随着鼠标的移动而移动。正确的结果是在Chrome中:点击滚动条,面板固定,内容滚动。 这是我的代码和' this._preparePanelTemplate'是一个div块。:
this.jsPanelOptions = this.options.jsPanelOptions || {
selector: "#" + this.panelContainerId,
template: this._preparePanelTemplate(),
id: this.viewId,
controls: {
maximize: NORMAL_TYPE != this.type,
normalize: NORMAL_TYPE != this.type
},
size: {width: "auto", height: this.H},
title: this.title,
overflow: NORMAL_TYPE != this.type ? "hidden" : "auto",
theme: "default",
draggable: "disabled",
resizable: "disabled"
};