0
0
This commit is contained in:
syuilo 2018-05-07 16:53:56 +09:00
parent 9eb8595130
commit d5d7a527a0

View File

@ -188,6 +188,11 @@ export default Vue.extend({
}
if ((this as any).clientSettings.fetchOnScroll !== false) {
// display none
// https://github.com/syuilo/misskey/issues/1569
// http://d.hatena.ne.jp/favril/20091105/1257403319
if (this.$el.offsetHeight == 0) return;
const current = window.scrollY + window.innerHeight;
if (current > document.body.offsetHeight - 8) this.loadMore();
}