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

Fix #4986: 🐛🎨 Update the hover style to be applied only to the non-disabled calendar items #27

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

balajis-qb
Copy link
Collaborator

Closes Hacker0x01#4986

Description

As described in the issue, the hover style for the disabled items was set to transparent, hence if the programatically pre-selected is a part of the disabled dates, it'll apply the highlight background to the selected date. On hovering on this date, we shouldn't change it's background color.

As a fix, instead of changing the background of the disabled date items to transparent, I apply the hover styles to be applied only for the enabled date items. As a result, even though the disabled date was pre-selected, on hovering over it won't update it's style.

Contribution checklist

  • I have followed the contributing guidelines.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

@balajis-qb balajis-qb merged commit 84c072f into main Aug 7, 2024
3 of 4 checks passed
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.

Hovering over a Programmatically Pre-Selected disabled date changes Background to Transparent
1 participant