]> cat aescling's git repositories - mastodon.git/commit
Cancel list scroll reset after mouse move on wheel scroll (#9233)
authorLes Orchard <me@lmorchard.com>
Thu, 8 Nov 2018 17:45:20 +0000 (12:45 -0500)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 8 Nov 2018 17:45:20 +0000 (18:45 +0100)
commit9cfd610484541c14bcde3c368a158b9b5d2a6499
tree76a024746149f0bf511e9f4a71f5f52188362665
parentb22db8162a936884ba17bc89637d5368e6745df0
Cancel list scroll reset after mouse move on wheel scroll (#9233)

- Use object properties rather than component state for
  mouseMovedRecently and scrollToTopOnMouseIdle flags

- Remove redundant scrollToTop prop call, also fixing an attempt to call
  an undefined prop.

Fixes #9217
app/javascript/mastodon/components/scrollable_list.js