Skip to content

Commit

Permalink
Merge pull request #79 from emberjs/note-scroll-position-stickiness
Browse files Browse the repository at this point in the history
Add a note to the scroll-position example in the dummy app about remembering the scroll position across re-renders
  • Loading branch information
lukemelia committed Jan 21, 2016
2 parents 70779cc + fdebdce commit f2ab6ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/dummy/app/templates/scroll-position.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Item Width: {{itemWidth}}
Scroll Left: {{input value=scrollLeft}}
Scroll Top: {{input value=scrollTop}}
</p>
<p>Note: The usage of this component remembers its scroll position. Try it by navigating away from this route and then returning.</p>
<hr />

<div class="simple-list" style={{{concat 'position:relative;width:' containerWidth 'px;height:' containerHeight 'px;'}}}>
Expand Down

0 comments on commit f2ab6ba

Please sign in to comment.