Skip to content

Commit

Permalink
Merge pull request #4478 from nanaya/mp-autoscroll-bottom
Browse files Browse the repository at this point in the history
Reduce distance to bottom allowance for autoscroll
  • Loading branch information
notbakaneko committed May 24, 2019
2 parents a264119 + 8f1ec6c commit dd6f0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/coffee/react/mp-history/content.coffee
Expand Up @@ -47,7 +47,7 @@ export class Content extends React.PureComponent
if snapshot.reference?
snapshot.referenceTop = snapshot.reference.getBoundingClientRect().top

if osu.bottomPageDistance() < 300 && prevProps.isAutoloading && @props.isAutoloading
if osu.bottomPageDistance() < 10 && prevProps.isAutoloading && @props.isAutoloading
snapshot.scrollToLastEvent = true

snapshot
Expand Down

0 comments on commit dd6f0d2

Please sign in to comment.