From 974d712fbe5775903a4fec5ddc44b4069e68c925 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 22 Feb 2017 15:43:07 +0100 Subject: Improve performance of compose form --- .../components/features/ui/containers/status_list_container.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts/components/features/ui') diff --git a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx index c185d7eb0..bb6df1133 100644 --- a/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx +++ b/app/assets/javascripts/components/features/ui/containers/status_list_container.jsx @@ -54,12 +54,12 @@ const mapDispatchToProps = (dispatch, { type, id }) => ({ dispatch(expandTimeline(type, id)); }, - @debounce(300) + @debounce(100) onScrollToTop () { dispatch(scrollTopTimeline(type, true)); }, - @debounce(500) + @debounce(100) onScroll () { dispatch(scrollTopTimeline(type, false)); } -- cgit