Skip to content

[Tooltip] Suppress disabled button warning when controlled#15304

Merged
oliviertassinari merged 3 commits into
mui:nextfrom
tasinet:tooltip-controlled-suppress-disabled-button-warning
Apr 11, 2019
Merged

[Tooltip] Suppress disabled button warning when controlled#15304
oliviertassinari merged 3 commits into
mui:nextfrom
tasinet:tooltip-controlled-suppress-disabled-button-warning

Conversation

@tasinet

@tasinet tasinet commented Apr 10, 2019

Copy link
Copy Markdown
Contributor

This suppresses the warning as described in #15303. Includes unit test.

Also: wording fix in existing test title - should probably be "can not" listen to events

Closes #15303.

@oliviertassinari oliviertassinari added scope: tooltip Changes related to the tooltip. type: new feature Expand the scope of the product to solve a new problem. labels Apr 10, 2019
@oliviertassinari oliviertassinari changed the title [Tooltip] Suppress disabled button warning when we are controlled (#15303) [Tooltip] Suppress disabled button warning when controlled Apr 10, 2019
@oliviertassinari

Copy link
Copy Markdown
Member

@tasinet This sounds like a great thank! Thank you. For the context, @joshwooding is refactoring the component in #15291.

@mui-pr-bot

mui-pr-bot commented Apr 10, 2019

Copy link
Copy Markdown

No bundle size changes comparing 3b084f6...b889b95

Generated by 🚫 dangerJS against b889b95

@oliviertassinari
oliviertassinari merged commit 19fda5e into mui:next Apr 11, 2019
@oliviertassinari

Copy link
Copy Markdown
Member

@tasinet Thank you for working on it!

@tasinet

tasinet commented Apr 11, 2019

Copy link
Copy Markdown
Contributor Author

My pleasure :) Thanks for the speedy merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tooltip Changes related to the tooltip. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tooltip] Suppress "disabled button" console warning when tooltip is controlled

4 participants