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

index-without-carbon.min.css breaks left/right aligned tooltips for OverflowMenus and IconButtons #5314

Closed
2 tasks done
justindm234 opened this issue May 22, 2024 · 0 comments · Fixed by #5316
Closed
2 tasks done
Assignees
Labels
Sev 2 Aspects of design is broken and impedes users in a significant way, but has workaround. status: needs triage 🕵️‍♀️ type: bug 🐛 Something isn't working

Comments

@justindm234
Copy link

justindm234 commented May 22, 2024

Package

Carbon for IBM Products

Description

When an application includes index-without-carbon.min.css, the alignment of left/right tooltips for OverflowMenus and IconButtons breaks (the tooltip becomes partially positioned over the element):

Without index-without-carbon.min.css:
https://stackblitz.com/edit/github-srfy1t-sugmjm?file=package.json,src%2FApp.jsx,src%2Fmain.jsx
image

With index-without-carbon.min.css:
https://stackblitz.com/edit/github-srfy1t-wnjsje?file=package.json,src%2Fmain.jsx,src%2FApp.jsx
image

I believe the root problem is from _string-formatter.scss

Component(s) impacted

  • Carbon OverflowMenu
  • Carbon IconButton
    Maybe more?

Browser

Chrome, Firefox

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

2.30.0

Severity

Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.

Product/offering

IBM Z Hardware Management Console

CodeSandbox or Stackblitz example

https://stackblitz.com/edit/github-srfy1t-wnjsje?file=package.json,src%2Fmain.jsx,src%2FApp.jsx

Steps to reproduce the issue (if applicable)

  • Import index-without-carbon.min.css
  • Render an OverflowMenu or IconButton with align "left" or "right"

The problem does not exist with index-without-carbon-released-only.min.css

Release date (if applicable)

No response

Code of Conduct

@matthewgallo matthewgallo added type: bug 🐛 Something isn't working Sev 2 Aspects of design is broken and impedes users in a significant way, but has workaround. labels May 22, 2024
@matthewgallo matthewgallo self-assigned this May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sev 2 Aspects of design is broken and impedes users in a significant way, but has workaround. status: needs triage 🕵️‍♀️ type: bug 🐛 Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants