From 0cb8d93069d6310abd39ee2fe73219e17aa83fe6 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 series page not showing when window is made wider Closes #4837 --- 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 4b73ad4cb..7bb45d442 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 }); + } } //