Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Menu Divider doesn't work with iconOnly + horizontal menu #722

Closed
joheredi opened this issue Jan 14, 2019 · 0 comments · Fixed by #813
Closed

Menu Divider doesn't work with iconOnly + horizontal menu #722

joheredi opened this issue Jan 14, 2019 · 0 comments · Fixed by #813
Labels
vsts Paired with ticket in vsts

Comments

@joheredi
Copy link
Member

Bug Report

Menu divider doesn't show up when the menu is horizontal and has iconOnly prop

Steps

A clear and concise description of steps to reproduce the problem.

import React from 'react'
import { Menu } from '@stardust-ui/react'
const items = [
  {
    key: 'editorials',
    icon: 'teams',
  },
  {
    key: 'review',
    icon: 'format',
  },
  {
    key: 'divider',
    kind: 'divider',
  },
  {
    key: 'events',
    icon: 'bold',
  },
]

const MenuExample = () => <Menu defaultActiveIndex={0} items={items} iconOnly  />

export default MenuExample

Expected Result

Divider should show up in the right place

Actual Result

No divider

Version

0.16.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
vsts Paired with ticket in vsts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants