Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

bug(modal): nested modal backdrops don't obscure or disable parent modal #922

Closed
@jmwolfe

Description

@jmwolfe

Hello all! This is my first entry on GitHub, but I've been using angular-ui and angular-bootstrap components for a few months.

I really appreciate the rewrite of the modal and I'm using it on a big enterprise app.

There seems to still be an issue with 'nested' modals. ie a modal opened from another modal. The backdrop from the second modal does not obscure and deactivate the layer modal beneath it. Like the old $dialog, the new backdrop adds opacity to the backdrop but is not z-indexed right to cover the parent dialog/modal.

Admittedly, it's not a true defect at this second, because all dialogs are the same size, so the child modal obscures the parent modal and prevents clicks getting to it. To see this issue, you have to have the css extension fix in place (as noted on Issue #892, custom css class in $modal template) so that the child dialog can be smaller than the parent. Until @pkozlowski-opensource makes his fix in the master, I just used the tweak noted by @richardcrichardc in the issue.

Perhaps its something that can be fixed when the window class extension is fixed, because once you can change the size of the window, you will have these operational issues like Issue #738, modal does not stop tabbing on the background, and of course the problem noted in this issue item.

If we can brainstorm on the best design to fix the issue, I would be happy to try a pull request and to code it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions