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

Badge appears under MultiActionButton #6765

Open
1 task done
ernon66 opened this issue Jun 6, 2024 · 2 comments
Open
1 task done

Badge appears under MultiActionButton #6765

ernon66 opened this issue Jun 6, 2024 · 2 comments

Comments

@ernon66
Copy link

ernon66 commented Jun 6, 2024

Description

Hello,

The Badge component interacts differently with a MultiActionButton than it does with a regular Button

With a Button the Badge appears correctly over it
With a MultiActionButton the Badge appears under it

image

I think it should always appear over the component

Reproduction

https://stackblitz.com/edit/parsium-carbon-starter-2zetxs?file=src%2FApp.tsx

Steps to reproduce

Use a Badge component with a MultiActionButton

JIRA ticket numbers (Sage only)

SBS-99460

Suggested solution

I have not found any workaround

Carbon version

136.0.3

Design tokens version

No response

Relevant browsers

Chrome

Relevant OSs

MacOS

Additional context

No response

Confidentiality

  • I confirm there is no confidential or commercially sensitive information included.
@ernon66 ernon66 added Bug triage Triage Required labels Jun 6, 2024
@edleeks87
Copy link
Contributor

Should be a simple fix:

<StyledBadgeWrapper>
      {renderCorrectBadge()}
      {children}
    </StyledBadgeWrapper>

needs to be

<StyledBadgeWrapper>
      {children}
      {renderCorrectBadge()}
    </StyledBadgeWrapper>

@DipperTheDan
Copy link
Contributor

FE-6665

@DipperTheDan DipperTheDan added On Backlog Squad Petrus and removed triage Triage Required labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants