-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
revert(button): revert changes to button for v11 #10510
revert(button): revert changes to button for v11 #10510
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: e79b81e 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61f18683182200000850e94e 😎 Browse the preview: https://deploy-preview-10510--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: e79b81e 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61f18683510f0e00070830ff 😎 Browse the preview: https://deploy-preview-10510--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: e79b81e 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61f18683cdf15a0008530851 😎 Browse the preview: https://deploy-preview-10510--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also fixes the Pagination forward/back buttons issue @tw15egan discovered today
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jnm2377 good spot, thanks for catching that. It seems like our reset helper has changed a bit and now will set Let me go and update that real quick! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏽
@joshblack noticing that the tooltips do not appear when hovering over Icon buttons (noticed in Pagination). Is this new behavior intentional? |
@tw15egan great catch, this is currently coming up because we are not including the tooltip styles in v11 and are trying to supplement them with popover/icon button usage. I think this is something that we can ship as a known issue and use the next couple of sprints to either:
Let me know what you think! |
@joshblack gotcha! I see that they are working as intended in the v10 source just not in v11. I think option 2 makes the most sense going forward in the v11 source. |
Closes #10505
Closes #10294
This PR reverts the changes we made to button for icon support. This should address most of the issues with components using
Button
as an icon button.Changelog
New
Changed
Removed
Testing / Reviewing
IconButton
still works as intended