angular-ui-router-uib-modal icon indicating copy to clipboard operation
angular-ui-router-uib-modal copied to clipboard

Shows modal content in main <ui-view></ui-view>

Open MikeHibbert opened this issue 8 years ago • 1 comments

When using the module I specified that it is a modal view and it performs as expected, however, the content also shows modal content in main

any ideas?

MikeHibbert avatar Jul 06 '17 14:07 MikeHibbert

I noticed that behavior as well. But I managed to work around that. Lets say you have a state "A" and a state "A.B", where "A.B" is a child state of "A". Now, the state "A" as a where the state "A.B" does not. (Because its the end point state). If you add a new state "C" as a modal state under "A", the issue will occur, but if you add the same state under "A.B" (The one without ) it wont.

I guess its not a fix, but its an understanding on how the plugin is currently built. Just add your modal states under the childless states and you will be fine.

mypensyail avatar Nov 06 '17 13:11 mypensyail