문제

Are there limitations when using ngAnimate inside an AngularUI modal that is bound via templateUrl?

I could not get the animation to work inside the modal. Show & Hide of course work, just without animation.

도움이 되었습니까?

해결책

Maybe it will help someone:

New modal window is appended to the end of <body>.

If the root element of application is <body> or <html> everything works fine. But if the root of application is any tag in the <body>, animation will not work in the modal.

Here is a not working example and a working example.

다른 팁

I had the same problem, another workaround is to use appendTo option of uibModal.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top