-
Notifications
You must be signed in to change notification settings - Fork 68
Fix scrolling detection on activity 14 #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
js/script.js
Outdated
| prefill: function () { | ||
| this.ignoreScroll += 1; | ||
| if (this.$content.scrollTop() + this.$content.height() > this.$container.height() - 100) { | ||
| if (this.$content.scrollTop() + $(window).height() > this.$container.height() + 100) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will make it -100 again, so new activities are already loaded, before you reach the end, so ideally you never see the loading circle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, make sense now. I couldn't figure why it was set to -100!
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
Can you prepare a backport on stable14? |
|
Of course! :) |
|
Ah it was already backported in #295 |
Fix #292