vt-social/app/javascript/mastodon/features/ui
ThibG 0b437325dc
Fix column swiping animation logic (#15301)
From the start, swiping columns was highly unreliable because the logic
could change `ReactSwipeableViews`'s `animateTransitions` property
mid-swipe.

PR #11200 partially fixed this, but at the unintended cost of disabling the
swipe animation altogether.

This PR changes the logic behind `shouldAnimate` to only disable the swiping
animation at the end of a column change not initiated by `ReactSwipeableViews`.

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2020-12-07 20:07:24 +01:00
..
components Fix column swiping animation logic (#15301) 2020-12-07 20:07:24 +01:00
containers never filter own posts from timeline (#14128) 2020-06-23 16:01:34 +02:00
util Add bookmarks (#7107) 2019-11-13 23:02:10 +01:00
index.js Fix pop-out player appearing on mobile screens in web UI (#15157) 2020-11-16 05:16:39 +01:00