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(ui): Revert change to disabled button tooltip #29139

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

scttcper
Copy link
Member

@scttcper scttcper commented Oct 7, 2021

Unrevert the revert in #29085 It was not the issue.

I'm not sure what is wrong with that particular disabled button tooltip, but it doesn't like hiding.

This ended up not being the issue
@scttcper scttcper requested review from priscilawebdev and a team October 7, 2021 00:47
@scttcper scttcper requested a review from a team as a code owner October 7, 2021 00:47
@@ -129,7 +129,7 @@ class BaseButton extends React.Component<ButtonProps, {}> {
// Doing this instead of using `Tooltip`'s `disabled` prop so that we can minimize snapshot nesting
if (title) {
return (
<Tooltip skipWrapper {...tooltipProps} title={title}>
<Tooltip skipWrapper={!disabled} {...tooltipProps} title={title}>
Copy link
Member

Choose a reason for hiding this comment

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

Did we find out why this was here though? Skipping the wrapper is nice if we can

@scttcper scttcper merged commit adc9736 into master Oct 7, 2021
@scttcper scttcper deleted the scttcper/fix-disabled-tooltip branch October 7, 2021 20:46
@github-actions github-actions bot locked and limited conversation to collaborators Oct 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants