not preserving scroll amount when switching URLs
bhinderbaljeet opened this issue · 2 comments
bhinderbaljeet commented
Hi
I have used iron-swipeable-pages in my app everything works fine but I am having a problem.
swipe pages are at url : http://localhost:5000/#/home (which is a long list of paper cards.)
when I go to another url
e.g: http://localhost:5000/#/cards/1
and come back the page takes me to the first card instead of preserving the scroll amount of home page.
if I render my cards without swipe component scroll amount is preserved.
any idea about how can I fix?
Thanks
myfrom commented
Maybe this could help you: https://beta.webcomponents.org/element/PolymerElements/app-layout/app-scrollpos-control
MeTaNoV commented
@Witus13 sadly, app-scrollpos-control
is going to disappear in 2.0, I'll investigate an implementation based on a behavior