diff --git a/app/soapbox/components/timeline_queue_button_header.js b/app/soapbox/components/timeline_queue_button_header.js index 1fa9cbadf..7dcb7a387 100644 --- a/app/soapbox/components/timeline_queue_button_header.js +++ b/app/soapbox/components/timeline_queue_button_header.js @@ -81,8 +81,12 @@ class TimelineQueueButtonHeader extends React.PureComponent { } }, 150, { trailing: true }); - handleClick = e => { + scrollUp = () => { window.scrollTo({ top: 0, behavior: 'smooth' }); + }; + + handleClick = e => { + setTimeout(this.scrollUp, 10); this.props.onClick(e); }