From 2bf7dc93ad44d67fce5887c0d37ec1254c0ff7f0 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 2 Jan 2020 17:46:04 -0500 Subject: [PATCH] scroll to top when clicking home --- ui/component/header/view.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index 9f9c487b0..45d94d449 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -99,6 +99,7 @@ const Header = (props: Props) => { className="header__navigation-item header__navigation-item--lbry" label={__('LBRY')} icon={ICONS.LBRY} + onClick={() => window.scrollTo(0, 0)} {...homeButtonNavigationProps} />