I was successful in opening a child modal on top of another parent modal using React-Bootstrap. But, I also want to hide the parent modal after I open the child modal. But, when I trigger the parent modal using React-Bootstrap handleClose
method to close it, the child modal handleClose
method is also triggered. That makes the child modal close too. Is there a way to handle this problem?
In the below picture, I have the child modal on top of parent modal which is working for now. But, I want the parent modal to hide.