Skip to content

Commit

Permalink
fix(calendar): scrolling is hidden when changing the month
Browse files Browse the repository at this point in the history
  • Loading branch information
novsource committed May 4, 2024
1 parent 633f9d2 commit 8c7c359
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tough-carpets-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nextui-org/calendar": patch
---

Removed scrolling display during month change animation (#2945)
2 changes: 1 addition & 1 deletion packages/core/theme/src/components/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const calendar = tv({
prevButton: [],
nextButton: [],
headerWrapper: [
"px-4 py-2 flex items-center justify-between gap-2 bg-content1",
"px-4 py-2 flex items-center justify-between gap-2 bg-content1 overflow-hidden",
"[&_.chevron-icon]:flex-none",
// month/year picker wrapper
"after:content-['']",
Expand Down

0 comments on commit 8c7c359

Please sign in to comment.