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

components: useHoverOverlay should compose props #87246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Mar 17, 2025

Tooltip, and anything using useHoverOverlay with skipWrappers is overriding and swallowing handlers.

@JonasBa JonasBa requested a review from evanpurkhiser March 17, 2025 22:52
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 17, 2025
>
>
) => ({
// !!These props are always overriden!!
'aria-describedby': describeById,
ref: setTriggerElement,
Copy link
Member Author

Choose a reason for hiding this comment

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

This is unfortunate, but we need react 19 to be able to fix it. If I attempt to compose the ref it react to error as the ref is a "reserved prop"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant