You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Color is applied when the items are active, however, the active logic is incorrectly comparing capitalized strings to lowercase strings in this example. Fix is in #1585.
That is just how the default them chose to work. You can customize your own theme to your liking. You might also be looking for an inverted menu, where the menu is a solid color.
Please see in the code below (sample code from https://react.semantic-ui.com/collections/menu#menu-example-name-prop).
The 'color' property set on the Menu Item ("reviews") does not work (color not set).
import React, { Component } from 'react'
import { Menu } from 'semantic-ui-react'
export default class MenuExampleNameProp extends Component {
state = {}
handleItemClick = (e, { name }) => this.setState({ activeItem: name })
render() {
const { activeItem } = this.state
}
}
The text was updated successfully, but these errors were encountered: