Skip to content

Commit

Permalink
fix(useCalendar): fix grid not working on prev page (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
epr3 committed Apr 18, 2024
1 parent a605a6f commit cc441ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/radix-vue/src/Calendar/useCalendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ export function useCalendar(props: UseCalendarProps) {
numberOfMonths: props.numberOfMonths.value,
})

grid.value = newGrid

props.placeholder.value = newGrid[0].value.set({ day: 1 })
}

Expand Down

0 comments on commit cc441ed

Please sign in to comment.