I have a problem with paper-menu and paper-header-panel. When I click on my paper-menu items and webcomponents has correctly loaded the relative page, this one appears in the previous scrolled position. How I can set to scroll on top when the click is performed??
Asked
Active
Viewed 515 times
1 Answers
2
This is because the main container of your header panel has fixed height. If you are using Polymer Starter Kit all you have to do is remove the height for the ".content" class in app-theme.html

Maiko Morales Roman
- 106
- 3
-
I resolved by scrolling in top programmatically in JavaScript ... I will try to remove this property .... – Marco Jul 10 '15 at 21:00
-
I used to do that but in some cases it just didn't work, plus, the fix above is more cleaner :) – Maiko Morales Roman Jul 10 '15 at 21:15