From e1ebaaee15cc9f80861fdda0fa72870a76d49255 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 13 Jan 2022 17:54:04 -0800 Subject: [PATCH] Fixed: Jump bar on artists page not showing when window is made wider (cherry picked from commit 0cb8d93069d6310abd39ee2fe73219e17aa83fe6) Closes #2590 --- frontend/src/Components/Page/PageJumpBar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/Components/Page/PageJumpBar.js b/frontend/src/Components/Page/PageJumpBar.js index d6bf8516c..ece3c7353 100644 --- a/frontend/src/Components/Page/PageJumpBar.js +++ b/frontend/src/Components/Page/PageJumpBar.js @@ -100,7 +100,9 @@ class PageJumpBar extends Component { // Listeners onMeasure = ({ height }) => { - this.setState({ height }); + if (height > 0) { + this.setState({ height }); + } }; //