File tree Expand file tree Collapse file tree
packages/devextreme/js/__internal/scheduler/workspaces Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ class SchedulerTimeline extends SchedulerWorkSpace {
177177 private getWorkSpaceMinHeight ( ) {
178178 let minHeight = this . getWorkSpaceHeight ( ) ;
179179
180- const workspaceContainerHeight = this . $flexContainer ? getOuterHeight ( this . $flexContainer , true ) : 0 ;
180+ const workspaceContainerHeight = getOuterHeight ( this . $flexContainer , true ) ;
181181
182182 if ( minHeight < workspaceContainerHeight ) {
183183 minHeight = workspaceContainerHeight ;
Original file line number Diff line number Diff line change 11import { getBoundingRect } from '@js/core/utils/position' ;
2- import { hasWindow } from '@js/core/utils/window' ;
32import { calculateDayDuration , getVerticalGroupCountClass } from '@ts/scheduler/r1/utils/index' ;
43import { WORK_SPACE_BORDER_PX } from '@ts/scheduler/workspaces/const' ;
54
@@ -93,10 +92,7 @@ class VerticalGroupedStrategy {
9392
9493 const dayHeight = ( calculateDayDuration ( startDayHour , endDayHour ) / hoursInterval ) * this . _workSpace . getCellHeight ( ) ;
9594 const scrollTop = this . getScrollableScrollTop ( ) ;
96- let headerRowHeight = 0 ;
97- if ( hasWindow ( ) && this . _workSpace . $headerPanelContainer ) {
98- headerRowHeight = getBoundingRect ( this . _workSpace . $headerPanelContainer . get ( 0 ) as HTMLElement ) . height ;
99- }
95+ const headerRowHeight = getBoundingRect ( this . _workSpace . $headerPanelContainer . get ( 0 ) ) . height ;
10096
10197 let topOffset = groupIndex * dayHeight + headerRowHeight + this . _workSpace . option ( 'getHeaderHeight' ) ( ) - scrollTop ;
10298
You can’t perform that action at this time.
0 commit comments