Closed tghosgor closed 9 years ago
Right now there isn't a way. The topic of hiding and showing pages has come up a few times now (https://github.com/erikringsmuth/app-router/issues/36, https://github.com/erikringsmuth/app-router/issues/81). I may have to cave and implement #36. Although, I'm not sure if that will fix the scroll position issue. That's a really tough one in client side routers since the browser won't maintain the scroll position with the history.
Closing as duplicate of https://github.com/erikringsmuth/app-router/issues/36
I have observed that on path change, app-router creates an instance of the given item. I need to have app-router showing and hiding the items instead of removing and creating them because I do not want the scrollbar reset when navigating to back one level. Is there a way to do it?
I am manually creating content using inside app-route.