Skip to content

Commit

Permalink
expand isDisposed check (#2488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres-CT98 authored Mar 7, 2024
1 parent 96616f7 commit 256cff8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ function onDragEnd(
event: MouseEvent,
initValue: DragAndDropInitValue | undefined
) {
if (context.editor.isDisposed()) {
return false;
}
if (
!context.editor.isDisposed() &&
isTableBottomVisible(
context.editor,
normalizeRect(context.table.getBoundingClientRect()),
Expand Down

0 comments on commit 256cff8

Please sign in to comment.