$modalInstance dialog box closes, but screen remains grayed out and inaccessible

前端 未结 4 1861
庸人自扰
庸人自扰 2021-01-18 12:57

I am using angular-ui to open and close a modal. When I close it with submit(object) or dismiss(message), the dialog box closes, but the screen rem

4条回答
  •  遇见更好的自我
    2021-01-18 13:29

    I was working with angular 1.4.3 angualar-ui-bootstrap 0.13 and had the issue.

    PSL answer worked (removed animation)... but no animation lead to bad user experience (IMHO).

    Reverting angular to 1.3 is not an option for various reason.

    I tried downgrading ui-bootstrap from 0.13 to 0.12.1 and it worked for me

    I know ui-bootstrap 0.12.1 supports angular 1.3 only... but everything seems to works for me with angular 1.4.3. Given I don't use ui-bootstrap extensively, I guess it's OK, but this might not work for everyone

提交回复
热议问题