Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Jul 16, 2024
1 parent 7e8ec6b commit fd1cb35
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ class BaseStrategy {
inAllDayRow && !this.isVerticalGrouping,
);

const groupEdgeIndices = this.viewDataProvider.getGroupEdgeIndices(validGroupIndex);
const vMin = this.getCellPosition(
{
columnIndex: positionByMap.columnIndex,
rowIndex: groupEdgeIndices.firstRowIndex,
},
inAllDayRow && !this.isVerticalGrouping,
).top;

const timeShift = inAllDayRow
? 0
: this.getTimeShiftRatio(positionByMap, date);
Expand All @@ -134,7 +143,7 @@ class BaseStrategy {
columnIndex: position.columnIndex,
hMax: horizontalHMax,
vMax: verticalMax,
vMin: position.top,
vMin,
groupIndex: validGroupIndex,
};
}
Expand Down

0 comments on commit fd1cb35

Please sign in to comment.