Stateful modal as child of root state

46 Views Asked by At

I have a problem. I've created a modal state, that is a state for modal and is a child state of a root state. In the root state I have a list of articles in ng-repeat that create a scrollable view. Each element in that list opens modal with different parameter, but just before it opens my list scroll backs to first element. So if I scroll to the bottom of page and open some 'article' in modal, the modal opens but state in background is scrolled to top, so when I close modal I'm once again on top. I gave my best to explain my problem.

0

There are 0 best solutions below