I have three components - app, sideNav and wallForm. In the app header, I have a button that drops down the sideNav. The sideNav has an add button which opens the wallForm modal. This is an ng2-bootstrap modal. The drop down menu loads fine, but when I click on the add button, the modal loads and the screen greys out (disabled), but the modal does not show in the front. I know it has loaded because I can inspect the element in browser developer tools. I tried setting the z-index of the modal to a very high number, much higher than that of the drop down menu and that didn't help. How do I get the modal to behave as it should i.e., display on top?
Code below:
<!--app.html-->
<!-- Nav bar -->
Run code snippetExpand snippet
<!-- sidenav.html -->
<!--Modal dialog-->
<!--this is the modal body-->
Run code snippetExpand snippet
<!-- content excluded for brevity -->
Run code snippetExpand snippet
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)