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

modal template code not deleted from body after close or dismiss. #3877

Closed
gunaskr opened this issue Jun 30, 2015 · 2 comments
Closed

modal template code not deleted from body after close or dismiss. #3877

gunaskr opened this issue Jun 30, 2015 · 2 comments

Comments

@gunaskr
Copy link

gunaskr commented Jun 30, 2015

I'm able to open the modal window and when i click on ok or cancel the modal window disappears and i can get the values in the modal window back into my main controller. However the modal window html code which is responsible for the modal window is not deleted after clicking on ok or dismiss. Hence, I'm unable to access the parent page even after the modal window is disappeared.

I was not able to recreate the issue when i tried in simple environment. I've included lots of css files and thirdparty angular directives and such. I suspect it could be because of some conflicting dependencies. Please let me know if this is because of some conflicting javascript or css files if any.

@romain10009
Copy link

Hello gunaskr. I ran in the same issue : my modal is closed, and yet the angular-rangeslider plugin present on the modal modifies my objects further. It's not verry clear. Here is my list of dependencies, what is yours? maybe we can find common points.

"jquery": "~2.1.1",
"angular": "~1.4.1",
"bootstrap": "~3.3.0",
"angular-route": "~1.4.1",
"angular-sanitize": "~1.4.0",
"angular-bootstrap": "~0.13.0",
"lodash": "3.x.x",
"ngDraggable": "ngdraggable-custom.git#~2.0.1",
"angular-rangeslider": "~0.0.14"

our issue looks allot like #3873

@rvanbaalen
Copy link
Contributor

As @romain10009 mentioned, this is a duplicate of #3873

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants