fix(calendar): correct today highlight and separate from selected state#743
fix(calendar): correct today highlight and separate from selected state#743Valley-15 wants to merge 0 commit intocosscom:mainfrom
Conversation
|
@Valley-15 is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for the contribution! Here's my review: 1. The core fix (
|
|
@Valley-15 would you mind to have a look at the review above? Cheers! |
|
ok @pasqualevitiello sir, thanks for your guidance.I will work on the review. Thanks |
|
Hello @pasqualevitiello sir, I reviewed the issue (#742) and attempted to reproduce it locally using the current codebase. 🧪 Reproduction attempt:
🔍 Findings:
📌 Conclusion:
|
fcaf926 to
42151c7
Compare

📄 Description
Fixes #742
This PR resolves the issue where the Calendar component incorrectly highlights the "today" date.
Previously:
✅ Changes
today = new Date()in DayPickermodifiers.todayto track actual current datetoday→ subtle indicator (dot)selected→ highlighted background🧪 Testing
📸 Screenshots
Before
After
🧠 Notes
This resolves confusion caused by mixing "selected" and "today" states in the UI.