From 1faaf660c488e14a974ff0a4cd4dc0cb694282d8 Mon Sep 17 00:00:00 2001 From: Xmader Date: Thu, 7 Jan 2021 02:45:58 -0500 Subject: [PATCH] fix: pass the scroll event through the btns background https://stackoverflow.com/questions/1009753/ --- src/btn.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/btn.css b/src/btn.css index 2ef936e..b27c0ec 100644 --- a/src/btn.css +++ b/src/btn.css @@ -10,6 +10,9 @@ div { z-index: 9999; background: #f6f6f6; min-width: 230px; + + /* pass the scroll event through the btns background */ + pointer-events: none; } @media screen and (max-width: 950px) { @@ -26,6 +29,7 @@ button { background: #1f74bd; cursor: pointer; + pointer-events: auto; margin-bottom: 4px; margin-right: 4px;