Skip to content

Commit f2ab6ba

Browse files
committed
Merge pull request #79 from emberjs/note-scroll-position-stickiness
Add a note to the scroll-position example in the dummy app about remembering the scroll position across re-renders
2 parents 70779cc + fdebdce commit f2ab6ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/dummy/app/templates/scroll-position.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Item Width: {{itemWidth}}
1515
Scroll Left: {{input value=scrollLeft}}
1616
Scroll Top: {{input value=scrollTop}}
1717
</p>
18+
<p>Note: The usage of this component remembers its scroll position. Try it by navigating away from this route and then returning.</p>
1819
<hr />
1920

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

0 commit comments

Comments
 (0)