Skip to content

Commit

Permalink
fix: test 报错
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarryxin committed Jan 23, 2024
1 parent 14b4e2a commit 1934d52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const CalendarPickerView = forwardRef<
const cell = rootRef.current?.querySelector(
`[data-date="${convertPageToDayjs(page).format('YYYY-MM')}"`
)
if (cell) {
if (cell && cell.scrollIntoView) {
cell.scrollIntoView()
}
}
Expand Down

0 comments on commit 1934d52

Please sign in to comment.