ClickerMonkey / SemanticUI-Angular

Angular Directives for Semantic UI
http://clickermonkey.github.io/SemanticUI-Angular/examples/
MIT License
56 stars 28 forks source link

Modal + angular ui router #30

Open DoctorGester opened 6 years ago

DoctorGester commented 6 years ago

They simply do not go together. A modal inside of an ui-view causes a new modal to be created each time the state is entered, probably because modals are physically moved somewhere else.

DoctorGester commented 6 years ago

settings="{ detachable: false }" works as a temporary fix

ClickerMonkey commented 6 years ago

Thanks thats good to know!

I imagine there might be a few components like a dialog that should call a destroy like method on the Semantic UI library when the angular scope is destroyed.