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

Tooltip element acting weird on disabled button #30422

Closed
grzim opened this issue Mar 31, 2021 · 1 comment · Fixed by #35247 or #35254
Closed

Tooltip element acting weird on disabled button #30422

grzim opened this issue Mar 31, 2021 · 1 comment · Fixed by #35247 or #35254
Assignees
Labels
[Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@grzim
Copy link
Contributor

grzim commented Mar 31, 2021

Description

When a Tooltip element is used with the disabled Button, it adds , at the end and also makes a button clickable

Can be related to #27529

Step-by-step reproduction instructions

Wrap disabled Button in Rooltip

Expected behaviour

Button is not clickable

Actual behaviour

Button is clickable, and comma is added

Screenshots or screen recording (optional)

image

WordPress information

  • Gutenberg version: 10.3.0-rc.1
@talldan
Copy link
Contributor

talldan commented Oct 7, 2021

#35247 only partially fixed by removing the stray comma, so reopening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
3 participants