Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Adding opacity to differentiate outside days #1592

Merged
merged 1 commit into from Nov 20, 2022

Conversation

hpdganesh
Copy link
Contributor

closes #1591

Explain the context of this Pull Request: why are you proposing this change? What is the issue? Include links to issues or discussions.

Steps
1.When showOutsideDays feature is enabled, outside days of the months looks no different than the selected month. This can cause some confusion to the user
2. Render DayPicker with showOutsideDays option
Expected behavior
If we add style to differentiate the days for outside month, users can find the difference between the selected month days against the outside days

Current behaviour
Screen Shot 2022-10-28 at 7 10 38 AM

After fix
Screen Shot 2022-10-28 at 7 13 34 AM

Solution
Add opacity as 0.5 for rdp-day_outside class

@gpbl
Copy link
Owner

gpbl commented Nov 20, 2022

Thanks!

@gpbl gpbl merged commit f8e0ad5 into gpbl:master Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: No difference between days of the selected month vs days of the outside months.
2 participants