angular-ui / angular-ui/ui-scroll
"Preserves the scroll on refresh" does not ensure first item visibility
- 主要言語
- JavaScript
- スター
- 326
- フォーク
- 104
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When the first item in list is partially visible, refreshing the page causes scrolling to the first item entirely visible.
For example, when using [https://rawgit.com/angular-ui/ui-scroll/master/demo/persistentScroll/persistentScroll.html](url), we can make "Item 2" as the first item (not entirely visible):

Then refreshing the page, makes "Item 3" the first item:

while the expected behavior would be to still see "Item 2" as in:

This is even more important when items in list have a "big height".
Any idea on how to solve this?
Thanks in advance,
Olivier
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。