bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Modal backdrop does not fade out on close

Open ezzatron opened this issue 11 years ago • 9 comments

See http://getbootstrap.com/javascript/#modals for expected close animation. Whereas with http://angular-ui.github.io/bootstrap/#/modal, the modal itself animates on close, but the backdrop simply disappears suddenly.

ezzatron avatar Jan 13 '15 08:01 ezzatron

Hi @ezzatron - Are you able to provide a plunkr and the version(s) of Angular/Bootstrap and UI you are using?

karianna avatar Jan 13 '15 10:01 karianna

I don't have it in front of me right now, but both bootstrap and angular-ui/bootstrap are the latest stable versions available on bower.

I can put together a plunkr tomorrow if it's required, but the two links I pasted exhibit the behaviors I'm referring to.

To demonstrate the expected behavior:

  • http://getbootstrap.com/javascript/#modals-examples
  • Under "Live demo", click "Launch demo modal"
  • Close the modal and observe the modal backdrop fade out

To demonstrate the actual behavior:

  • http://angular-ui.github.io/bootstrap/#/modal
  • Click "Open me!"
  • Close the modal and observe the modal backdrop not fading out

It probably sounds like a minor thing, but since the angular-ui backdrop does fade in, it's quite jarring when doesn't fade out.

Does that help, or do you still need a plunkr?

ezzatron avatar Jan 13 '15 11:01 ezzatron

That should be enough, thanks!

karianna avatar Jan 13 '15 11:01 karianna

+1

jackrk avatar Mar 11 '15 21:03 jackrk

I found out that the problem is in 0.13.0 version. 0.12.0 works fine even with AngularJS 1.4.1.

dyatchenko avatar Jul 08 '15 14:07 dyatchenko

dyatchenko, +1

telminov avatar Jul 10 '15 15:07 telminov

dyatchenko, +1

olavocneto avatar Jul 16 '15 20:07 olavocneto

dyatchenko, +1

vicky-gonsalves avatar Jul 17 '15 03:07 vicky-gonsalves

Modal backdrop does not fade out on close help me

SuNiLThAkUr360 avatar Jul 20 '17 06:07 SuNiLThAkUr360