瀏覽代碼

Ensure the sidebar's explorer does not trigger action-button of current view

Fixes #11037
Co-authored-by: Christer Jensen <chr.code@gmail.com>
CheesyPhoenix 1 年之前
父節點
當前提交
871c09fd2e
共有 4 個文件被更改,包括 5 次插入2 次删除
  1. 1 0
      CHANGELOG.txt
  2. 1 0
      CONTRIBUTORS.md
  3. 2 2
      client/scss/components/_dropdown.legacy.scss
  4. 1 0
      docs/releases/5.3.md

+ 1 - 0
CHANGELOG.txt

@@ -6,6 +6,7 @@ Changelog
 
  * Fix: Update system check for overwriting storage backends to recognise the `STORAGES` setting introduced in Django 4.2 (phijma-leukeleu)
  * Fix: Prevent password change form from raising a validation error when browser autocomplete fills in the "Old password" field (Chiemezuo Akujobi)
+ * Fix: Ensure that the legacy dropdown options, when closed, do not get accidentally clicked by other interactions wide viewports (CheesyPhoenix)
  * Maintenance: Update BeautifulSoup upper bound to 4.12.x (scott-8)
  * Maintenance: Migrate initialization of classes (such as `body.ready`) from multiple JavaScript implementations to one Stimulus controller `w-init` (Chiemezuo Akujobi)
 

+ 1 - 0
CONTRIBUTORS.md

@@ -755,6 +755,7 @@
 * Chinedu Ihedioha
 * scott-8
 * phijma-leukeleu
+* CheesyPhoenix
 
 ## Translators
 

+ 2 - 2
client/scss/components/_dropdown.legacy.scss

@@ -33,9 +33,9 @@
     position: absolute;
     overflow: hidden;
     top: 100%;
-    inset-inline-start: -2000px;
     z-index: 500;
     opacity: 0;
+    pointer-events: none;
 
     li {
       float: none;
@@ -127,7 +127,7 @@
   &.open ul {
     box-shadow: 0 3px 3px 0 theme('colors.black-20');
     opacity: 1;
-    inset-inline-start: 0;
+    pointer-events: initial;
     display: block;
   }
 

+ 1 - 0
docs/releases/5.3.md

@@ -20,6 +20,7 @@ depth: 1
 
  * Update system check for overwriting storage backends to recognise the `STORAGES` setting introduced in Django 4.2 (phijma-leukeleu)
  * Prevent password change form from raising a validation error when browser autocomplete fills in the "Old password" field (Chiemezuo Akujobi)
+ * Ensure that the legacy dropdown options, when closed, do not get accidentally clicked by other interactions wide viewports (CheesyPhoenix)
 
 ### Documentation