Reputation: 848
In Semantic UI library exists sidebar. But in the tutorial, I see only examples where sidebar doesn't disable content after opening. How can I perform this?
Upvotes: 0
Views: 289
Reputation: 635
You can wrap your <Sidebar.Pusher> content inside a disabled Dimmer like this:
<Sidebar.Pusher>
<Sidebar.Pusher> <Dimmer disabled dimmed={this.state.sidebarIsVisible} as={Segment} > .... Your Segment content </Dimmer> </Sidebar.Pusher>
You can read more about it here
Upvotes: 1