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

[p-tooltip] Fix classes on p-tooltip throw warnings. #1328

Merged
merged 1 commit into from
May 31, 2024

Conversation

collincchoy
Copy link
Contributor

Similar to #1327, recent changes to p-tooltip have resulted in a lot of console warnings in development. This PR fixes another issue where using <p-tooltip class="some class" ... /> results in warnings like the below:

image

The warning is because attrs are falling through to TooltipProvider which doesn't render a single top-level node.

@collincchoy collincchoy requested a review from a team as a code owner May 31, 2024 14:33
Copy link

netlify bot commented May 31, 2024

Deploy Preview for prefect-design ready!

Name Link
🔨 Latest commit 4476e54
🔍 Latest deploy log https://app.netlify.com/sites/prefect-design/deploys/6659dfd984308800082b384a
😎 Deploy Preview https://deploy-preview-1328--prefect-design.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.

@collincchoy collincchoy merged commit ebbf595 into main May 31, 2024
6 checks passed
@collincchoy collincchoy deleted the p-tooltip/fix-class-attr-fallthrough-warnings branch May 31, 2024 14:36
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