PolymerElements/iron-demo-helpers

Scroll position is lost after refresh

Closed this issue · 2 comments

Description

Scroll posistion of https://elements.polymer-project.org/bower_components/iron-demo-helpers/demo/index.html is lost after page refresh. For instance, I scroll to the bottom page and hit Refresh button.

Expected outcome

After refresh page is scrolled to the bottom, exactly to the same position as it was before refresh.

Actual outcome

After refresh page is scrolled to the 20-30% of the page height.

Live Demo

https://elements.polymer-project.org/bower_components/iron-demo-helpers/demo/index.html
recorded

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

iron-demo-helpers is just a small element that displays a demo. It does not keep track of the scroll position in the page, as that's a thing that the app/page that uses it should do

That's maybe an issue better opened on https://github.com/Polymer/polymer-element-catalog