File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
packages/devextreme/js/__internal/scheduler/workspaces Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -511,13 +511,7 @@ class SchedulerWorkSpace extends Widget<WorkspaceOptionsInternal> {
511511
512512 const isMultiSelectionAllowed = this . option ( 'allowMultipleCellSelection' ) ;
513513 const currentCellData = this . _getFullCellData ( $cell ) ;
514- const focusedCell = this . cellsSelectionState . getFocusedCell ( ) ;
515-
516- if ( ! focusedCell ) {
517- return ;
518- }
519-
520- const focusedCellData = focusedCell . cellData ;
514+ const focusedCellData = this . cellsSelectionState . getFocusedCell ( ) . cellData ;
521515
522516 const nextFocusedCellData = this . cellsSelectionController . moveToCell ( {
523517 isMultiSelection,
@@ -3339,7 +3333,7 @@ const createDragBehaviorConfig = (
33393333 } ;
33403334
33413335 const onDragMove = ( ) => {
3342- if ( isDefaultDraggingMode || ! state . dragElement ) {
3336+ if ( isDefaultDraggingMode ) {
33433337 return ;
33443338 }
33453339
@@ -3381,7 +3375,6 @@ const createDragBehaviorConfig = (
33813375 }
33823376
33833377 state . dragElement ?. remove ( ) ;
3384- state . dragElement = undefined ;
33853378 removeDroppableCellClass ( ) ;
33863379 } ;
33873380
@@ -3390,8 +3383,6 @@ const createDragBehaviorConfig = (
33903383 enableDefaultDragging ( ) ;
33913384 }
33923385
3393- state . dragElement ?. remove ( ) ;
3394- state . dragElement = undefined ;
33953386 removeDroppableCellClass ( ) ;
33963387 e . itemElement ?. removeClass ?.( APPOINTMENT_DRAG_SOURCE_CLASS ) ;
33973388 } ;
You can’t perform that action at this time.
0 commit comments