Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Add cursor pointer style to hidden radio buttons (#810)

Takumia613d0214790
diff --git a/src/components/ToolIcon.scss b/src/components/ToolIcon.scss
index bd5fc23424..c186e02428 100644
--- a/src/components/ToolIcon.scss
+++ b/src/components/ToolIcon.scss
@@ -55,6 +55,7 @@
.ToolIcon_type_checkbox {
position: absolute;
opacity: 0;
+ pointer-events: none;
&:hover + .ToolIcon__icon {
background-color: #e9ecef;
diff --git a/src/styles.scss b/src/styles.scss
index 96aa9ff356..9d384de03e 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -81,6 +81,7 @@ canvas {
input[type="radio"] {
opacity: 0;
position: absolute;
+ pointer-events: none;
}
}