From 4b0ad92a873b41b2b909baeb33840c808c633e64 Mon Sep 17 00:00:00 2001 From: Jeremie Pardou-Piquemal <571533+jrmi@users.noreply.github.com> Date: Sat, 10 Apr 2021 20:42:12 +0200 Subject: [PATCH] Fix bottom bar prevent board event on invisible part --- src/views/BoardView.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/BoardView.jsx b/src/views/BoardView.jsx index 8f02619..0185e17 100644 --- a/src/views/BoardView.jsx +++ b/src/views/BoardView.jsx @@ -43,8 +43,10 @@ const ActionBar = styled.div` width: 100%; text-shadow: 1px 1px 2px #222; font-size: 0.8em; - & > * { + pointer-events: none; + & > *:not(.spacer) { padding: 0 1.5em; + pointer-events: all; } & .spacer {