fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Split button is not rendered with divider

Open ilbrando opened this issue 6 years ago • 1 comments

Environment Information

  • Package version(s): @fluentui/react 7.105.6
  • Browser and OS versions: Chrome Windows 10

Please provide a reproduction of the bug in a codepen:

https://codesandbox.io/s/fabric-split-button-ci9w6

Actual behavior:

image

Expected behavior:

From the documentation: image

Priorities and help requested:

Requested priority: Normal

ilbrando avatar Mar 31 '20 09:03 ilbrando

The button is not considered a splitbutton unless the onClick prop is set. Maybe a bit odd definition, but of course when you use the button you will normally set the onClick prop - I was using it in a storybook and didn't need it to do anything.

ilbrando avatar Mar 31 '20 12:03 ilbrando