angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.28k stars 6.73k forks source link

Modal stack until click in somewhere on the screen #6677

Closed johnico closed 6 years ago

johnico commented 6 years ago

I am using $uibmodal , with 2 buttons close and cancel(in the component). the problem is that when the popup is triggered while refreshing the page or other triggered. I need to resize the window or click on somewhere in the page. only then the button are being clickable

function opentestmodal()
    {
        $rootScope.testmodal = $uibModal.open( {
            animation: true,
            backdrop:'static',
            component: 'testmodalComponent',
            windowClass: "testmodalPopupClass",
            windowTopClass: "toptestmodalPopupClass",
        });

        $rootScope.testmodal.result.then(function () {

        }, function () {
        });
    }

it release the buttons even if I click on the chrome address bar

icfantv commented 6 years ago

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.