Merge pull request #229 in YR/star-web-components from dock to master
* commit '69686ed3488c83c833b0bf456bec8b0e75d5244a': BUG: #154710 - 解决Dock栏因为受主屏容器图标折返拖拽动作的影响,导致最右图标消失问题
This commit is contained in:
commit
994d374615
|
@ -627,6 +627,7 @@ export default class StarDock extends StarBaseElement {
|
|||
this._dnd.child.container.classList.remove('dragging')
|
||||
}
|
||||
|
||||
this._dragChild = undefined
|
||||
this.synchronise()
|
||||
}
|
||||
|
||||
|
|
|
@ -2527,7 +2527,7 @@ export class GaiaContainer extends StarBaseElement {
|
|||
|
||||
const elementHeight = this._dnd.child.element.offsetHeight
|
||||
const elementWidth = this._dnd.child.element.offsetWidth
|
||||
if (centerY > this.offsetHeight) {
|
||||
if (centerY > this.offsetHeight + this.top) {
|
||||
this.dragPosition = 'outter'
|
||||
if (!this.throttle) {
|
||||
this.throttle = window.setTimeout(() => {
|
||||
|
|
Loading…
Reference in New Issue