Skip to content

Commit eb8198d

Browse files
committed
Fix: Add visibleStartIndex & visibleEndIndex to onScrollBeginDrag
1 parent 73b9847 commit eb8198d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Scroller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ export default class CalendarScroller extends Component {
288288
data,
289289
visibleStartDate,
290290
visibleEndDate,
291+
visibleStartIndex,
292+
visibleEndIndex,
291293
} = this.state;
292294
const prevStartDate = visibleStartDate ? visibleStartDate
293295
: (data[visibleStartIndex] ? data[visibleStartIndex].date : moment());

0 commit comments

Comments
 (0)