]> cat aescling's git repositories - mastodon.git/commit
Temporarily hold timeline if mouse moved recently (fixes #8630) (#9200)
authorLes Orchard <me@lmorchard.com>
Mon, 5 Nov 2018 17:59:41 +0000 (12:59 -0500)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 5 Nov 2018 17:59:41 +0000 (18:59 +0100)
commit6a1216d2cd1c26c22baf86ae618a62aa66817239
treeaf578f59cda0d035fb89ba6b0dc8ea1102cab274
parentcd41c2c6adb712c755b6e718a6aad3ac68cf8928
Temporarily hold timeline if mouse moved recently (fixes #8630) (#9200)

- On recent mouse movement, hold timeline position so statuses remain in
  place for interactions in progress.

- If the timeline had been scrolled to the top before mouse movement,
  restore scroll on mouse idle.
app/javascript/mastodon/components/scrollable_list.js