christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

Using onReactivate to refresh view content is not working #264

Open TPGRich opened 8 years ago

TPGRich commented 8 years ago

Not really an issue, but a question.

I'm using a kendo listview control and am trying to do a refresh() on it in the onReactivate if they successfully performed a crud operation. When I perform the refresh, it draws them all at the y-pos of 0, so they all overlap one another. I put in a forum post with Telerik and they replied "most likely, the refresh call is executed before the listview widget is visible. The virtual mode does some manual calculations of the listview items positions/dimensions, and they are not possible to be done when the list is hidden". I tried to broadcast to reload the list and do it in the controller and I get the same thing.

I just wanted to verify whether this callback happens at a time when the dom is available or before like they are stating, and if not, is there a way to do that?

Thanks.