Relative Content

Tag Archive for reactjsmaterial-ui

Stop event propagation in react in Material UI React

I have a IconButton on a ListItemButton. When I click on the IconButton I want the ListItemButton button to not show ripple effect and anctivate click. I tried adding stopPropagation but the button is still activated. I can remove this by using disableRipple and removing click event. However, it’s not smooth. What is the best way to resolve this?

Issue opening a looped MUI Controlled Accordions

I have two lists of accordions. I want both accordion sets to be in sync with each other. For example, if I open accordion 1 in the left, I want accordion 1 in the right to be open and vice versa. I am already maintaining the state to keep the accordions open by default Please help me on what I am doing wrong.

Issue opening a looped MUI Controlled Accordions

I have two lists of accordions. I want both accordion sets to be in sync with each other. For example, if I open accordion 1 in the left, I want accordion 1 in the right to be open and vice versa. I am already maintaining the state to keep the accordions open by default Please help me on what I am doing wrong.

Issue opening a looped MUI Controlled Accordions

I have two lists of accordions. I want both accordion sets to be in sync with each other. For example, if I open accordion 1 in the left, I want accordion 1 in the right to be open and vice versa. I am already maintaining the state to keep the accordions open by default Please help me on what I am doing wrong.

Using nested array with MUI Autocomplete component

Currently I am working on a search bar component which will be integrated with an api which will return results which might have an nested option. The problem is MUI autocomplete doesn’t support nested options by default. I tried some work arounds and the best I could come with is something like this