From 41d9dc99d4a4636467386b87f76409decd702ba1 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Fri, 26 Jun 2020 11:28:28 +0200 Subject: [PATCH] add hack to fix timeline not showing --- src/components/Layout.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Layout.js b/src/components/Layout.js index 042d84a..13ac6a1 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -45,6 +45,9 @@ class Dashboard extends React.Component { } }) } + // NOTE: hack to get the timeline to always show. Not entirely sure why + // this is necessary. + window.dispatchEvent(new Event('resize')) } handleHighlight (highlighted) {