FIX: Couldn't reach the bottom of the scrollbar
This commit is contained in:
parent
321a11fe41
commit
6eb87e6f62
|
@ -172,10 +172,7 @@ createWidget('timeline-scrollarea', {
|
|||
topicCurrentPostScrolled(event) {
|
||||
const { postIndex, percent } = event;
|
||||
|
||||
// If the post number didn't change keep our scroll position
|
||||
if (this.state.scrolledPost !== postIndex) {
|
||||
this.state.percentage = this._percentFor(this.attrs.topic, parseFloat(postIndex) + percent);
|
||||
}
|
||||
this.state.percentage = this._percentFor(this.attrs.topic, parseFloat(postIndex) + percent);
|
||||
},
|
||||
|
||||
_percentFor(topic, postIndex) {
|
||||
|
|
Loading…
Reference in New Issue