From a8914232357d6c0bae59ef818801a8acd8d0afc2 Mon Sep 17 00:00:00 2001 From: tenKinetic Date: Mon, 11 Nov 2019 12:06:17 +1100 Subject: [PATCH] Remove pointer events for disabled toggle Set pointer-events to none when checkbox is in toggle mode and is disabled --- src/definitions/modules/checkbox.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/definitions/modules/checkbox.less b/src/definitions/modules/checkbox.less index 98f7746b6e..b09de7cd93 100755 --- a/src/definitions/modules/checkbox.less +++ b/src/definitions/modules/checkbox.less @@ -572,6 +572,11 @@ background-color: @toggleOnFocusLaneColor !important; } +/* Disabled */ +.ui.toggle.checkbox.disabled { + pointer-events: none; +} + /******************************* Variations *******************************/