]> cat aescling's git repositories - mastodon.git/commit
Scroll columns area to right when children property is changed (#4517)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Fri, 4 Aug 2017 16:57:46 +0000 (01:57 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 4 Aug 2017 16:57:46 +0000 (18:57 +0200)
commit9d1f8b9d6af1d384a4dd68bc6353a2fde5735b33
treea6271cec3f53aa94a44dbd1d13e696bd587ba70d
parent400616813e6012780b97c5a297797ee50fd2072a
Scroll columns area to right when children property is changed (#4517)

The feature to pin column could hide the rightmost column, which is
specified with children property of ColumnsArea.

The user is likely to see the column when the property changed, so scroll
the area in such cases.
app/javascript/mastodon/components/column.js
app/javascript/mastodon/features/ui/components/column.js
app/javascript/mastodon/features/ui/components/columns_area.js
app/javascript/mastodon/scroll.js