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/antd tooltip import button #6701

Merged

Conversation

mohit-2003
Copy link

@mohit-2003 mohit-2003 commented Mar 8, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

The Tooltip component passes event handlers such as onMouseEnter, but these are not applied to the ImportButton, causing the tooltip not to trigger properly.

What is the new behavior?

By spreading the rest props (...rest) in the Button component inside ImportButton, event handlers like onMouseEnter are now correctly applied, ensuring the tooltip works as expected.

fixes #6631

@mohit-2003 mohit-2003 requested a review from a team as a code owner March 8, 2025 08:42
Copy link

changeset-bot bot commented Mar 8, 2025

🦋 Changeset detected

Latest commit: c7b47cd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/antd Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Mar 8, 2025

Deploy Preview for refine-doc-live-previews ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0fb2e5b
🔍 Latest deploy log https://app.netlify.com/sites/refine-doc-live-previews/deploys/67cc02edfff3f900080c3524
😎 Deploy Preview https://deploy-preview-6701--refine-doc-live-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@alicanerdurmaz alicanerdurmaz added this to the March 2025 Release milestone Mar 10, 2025
@alicanerdurmaz alicanerdurmaz changed the base branch from main to next March 11, 2025 19:12
@alicanerdurmaz alicanerdurmaz merged commit b72c7ce into refinedev:next Mar 24, 2025
1 check 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.

[BUG] Ant Design's Tooltip component not showing when used with ImportButton
2 participants