Skip to content

Removed the redundant tooltip on hovering over a holiday#79

Open
balajis-qb wants to merge 3 commits intomainfrom
issue-6260/holiday-tooltip
Open

Removed the redundant tooltip on hovering over a holiday#79
balajis-qb wants to merge 3 commits intomainfrom
issue-6260/holiday-tooltip

Conversation

@balajis-qb
Copy link
Copy Markdown
Collaborator

@balajis-qb balajis-qb commented Mar 17, 2026

Description

Linked issue: Hacker0x01#6260

Problem
As I mentioned in the ticket, we're getting a redundant tooltip on hovering over a holiday. The reason is because we have added the same tooltip on the title and also added as a tooltip overlay. As a fix, I removed it from the holiday names from the title attribute.

Changes

  • Previously we're displaying both holidays and excluded date messages as a title. But I removed holiday messages from title as we're already displaying it as a custom tooltip overlay
  • Updated the test cases to check for holiday messages in the overlay instead of the title attribute.

Screenshots

image

Contribution checklist

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

- Removed holiday from title.
- Retained holiday tooltip only in the hover tooltip.
- Updated tests to reflect changes in title to tooltip text for better clarity.

Closes Hacker0x01#6260
- Updated the bottom position of the overlay to ensure proper alignment.
…ar dynamically

- Changed the initialization of selectedDate to use the current date.
- Updated holiday dates to reflect the current year instead of hardcoded values.
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.

1 participant