Skip to content

feat: add transition status to React tooltip#42

Merged
luwes merged 1 commit intomainfrom
tooltip-transition
Oct 8, 2025
Merged

feat: add transition status to React tooltip#42
luwes merged 1 commit intomainfrom
tooltip-transition

Conversation

@luwes
Copy link
Copy Markdown
Collaborator

@luwes luwes commented Oct 8, 2025

No description provided.

@luwes luwes requested a review from Copilot October 8, 2025 21:22
@luwes luwes self-assigned this Oct 8, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
vjs-10-demo-html Ready Ready Preview Comment Oct 8, 2025 9:23pm
vjs-10-demo-react Ready Ready Preview Comment Oct 8, 2025 9:23pm
vjs-10-website Ready Ready Preview Comment Oct 8, 2025 9:23pm

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds transition status to the React tooltip component to enable smooth animations during show/hide states. The changes integrate the useTransitionStatus hook from Floating UI to track animation states and update styling to support the new animation framework.

  • Integrated useTransitionStatus hook to track tooltip animation states
  • Updated tooltip styling with CSS transitions and data attribute selectors for animation states
  • Refactored component structure to expose transition status through context

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/react/react/src/components/Tooltip.tsx Added transition status tracking, updated context interface, and added data attributes for animation states
packages/react/react/src/skins/default/styles.ts Updated tooltip styling with CSS transitions and animation-based data attribute selectors

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@luwes luwes force-pushed the tooltip-transition branch from a767369 to 3917671 Compare October 8, 2025 21:23
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html October 8, 2025 21:23 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-website October 8, 2025 21:23 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react October 8, 2025 21:23 Inactive
@luwes luwes merged commit 39e862a into main Oct 8, 2025
4 checks passed
@luwes luwes deleted the tooltip-transition branch October 8, 2025 21:26
@github-actions github-actions bot mentioned this pull request Oct 24, 2025
@github-actions github-actions bot mentioned this pull request Feb 26, 2026
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.

2 participants