fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: Split button not rendered right in MessageBar component

Open ilbrando opened this issue 3 years ago • 1 comments

Library

React / v8 (@fluentui/react)

System Info

@fluentui/react version 8.106.5
The issue is not new in this version.

Are you reporting Accessibility issue?

None

Reproduction

https://codesandbox.io/s/fluent-splitbutton-yp3fnh?file=/src/App.tsx

Bug Description

Actual Behavior

The splitbutton isn't rendered in the right way. image

<MessageBar
  actions={
    <MessageBarButton
      text="Standard"
      split
      splitButtonAriaLabel="See 2 options"
      aria-roledescription="split button"
      menuProps={menuProps}
      onClick={() => undefined}
    />
  }
>
  Some message
</MessageBar>
);

Expected Behavior

The splitbutton should be rendered like when it is not used inside a MessageBar component.

Is there a work around?

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

ilbrando avatar Mar 14 '23 07:03 ilbrando

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.