Skip to content

Commit 194eee0

Browse files
committed
Fixed resizer issue
1 parent 6339147 commit 194eee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dd-resizable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class DDResizable extends DDBaseImplement implements HTMLElementExtendOpt
132132
protected _mouseOver(e: Event): void {
133133
// console.log(`${count++} pre-enter ${(this.el as GridItemHTMLElement).gridstackNode._id}`)
134134
// already over a child, ignore. Ideally we just call e.stopPropagation() but see https://github.com/gridstack/gridstack.js/issues/2018
135-
if (DDManager.overResizeElement || DDManager.dragElement) return;
135+
if (DDManager.overResizeElement === this || DDManager.dragElement) return;
136136
DDManager.overResizeElement = this;
137137
// console.log(`${count++} enter ${(this.el as GridItemHTMLElement).gridstackNode._id}`)
138138
this.el.classList.remove('ui-resizable-autohide');

0 commit comments

Comments
 (0)