From ac9d6cbf0a03aea6340112fc64f010a6e2cc0c6a 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 (cherry picked from commit 0cb8d93069d6310abd39ee2fe73219e17aa83fe6) --- 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 bdf7dc28f2..147ea47663 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 }); + } } //