chinwagsocial/app/javascript/mastodon/features/ui/components
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
..
__tests__ Replace to testing-library from enzyme (#14152) 2020-06-29 13:58:07 +02:00
actions_modal.js Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
audio_modal.js Fix not being able to open audio modal in web UI (#15283) 2020-12-07 04:29:37 +01:00
block_modal.js Add explanation to mute dialog, refactor and clean up mute/block UI (#11992) 2019-09-29 21:46:05 +02:00
boost_modal.js Make visibility icon clickable as part of the time of a toot (#15053) 2020-10-27 03:00:47 +01:00
bundle.js
bundle_column_error.js
bundle_modal_error.js
column.js
column_header.js
column_link.js
column_loading.js
column_subheading.js
columns_area.js Fix column swiping animation logic (#15301) 2020-12-07 20:07:24 +01:00
compose_panel.js Fix unsent toot confirmation dialog not popping up in single column (#13888) 2020-05-31 20:38:56 +02:00
confirmation_modal.js
document_title.js
drawer_loading.js
embed_modal.js Fix media editing modal and profile directory in light theme (#12059) 2019-10-03 03:17:29 +02:00
focal_point_modal.js Fixed ESLint error (#15214) 2020-11-23 17:35:14 +01:00
follow_requests_nav_link.js Add follow_request notification type (#12198) 2019-12-01 17:25:29 +01:00
image_loader.js Add expand/compress image button on image view box (#15068) 2020-11-02 21:16:38 +01:00
link_footer.js Add noopener and/or noreferrer (#12202) 2019-10-24 22:44:42 +02:00
list_panel.js
media_modal.js Fix not being able to open audio modal in web UI (#15283) 2020-12-07 04:29:37 +01:00
modal_loading.js
modal_root.js Change media modals look in web UI (#15217) 2020-11-27 03:24:11 +01:00
mute_modal.js Fix strings that could not be translated (#14980) 2020-10-15 21:24:58 +02:00
navigation_panel.js Add bookmarks (#7107) 2019-11-13 23:02:10 +01:00
notifications_counter_icon.js Change how missing desktop notifications permission is displayed (#14985) 2020-10-15 16:24:47 +02:00
report_modal.js
tabs_bar.js
upload_area.js
video_modal.js Fix not being able to open audio modal in web UI (#15283) 2020-12-07 04:29:37 +01:00
zoomable_image.js Add limitation of image's max zoom rate (max to the original size of image) (#15094) 2020-11-04 20:43:31 +01:00