Closed IzaacJ closed 3 months ago
@IzaacJ Update the top row div css class as below:
<div class="bb-top-row px-4 d-flex justify-content-end position-static">
<ComponentWithModal />
</div>
Screenshot:
That is only a partly working resolution, since the top-row stops being a top-row and scrolls with the content. What I decided to do instead is change the bb-top-row z-index to 1055, keeping it sticky, but visually appearing above the backdrop, although not interactable, while the actual modal is interactable.
Just added the css below to the app.css
.bb-top-row {
z-index: 1055 !important;
}
Not a perfect workaround, but the top-row is kept sticky, which is more important in my case.
Describe the bug When a component containing a modal is placed inside the top-bar, the modal gets rendered behind the backdrop, making it impossible to interact with.
To Reproduce
Expected behavior A modal displaying above the backdrop.
Screenshots
Versions (please complete the following information):
Sample code
GitHub repo Setup an example here: https://github.com/izaacj/github-issues/tree/bb-modal
Desktop (please complete the following information):