From 15b8bde81b1d140f03255c4524305ebf6a07f536 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 1 May 2025 16:20:03 -0400 Subject: [PATCH] fix matter form control label + focus bug (#897) --- docs/docs/resources/changelog.md | 1 + src/styles/themes/matter/overrides.css | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/docs/resources/changelog.md b/docs/docs/resources/changelog.md index 063497936..d6b830510 100644 --- a/docs/docs/resources/changelog.md +++ b/docs/docs/resources/changelog.md @@ -17,6 +17,7 @@ During the alpha period, things might break! We take breaking changes very serio - 🚨 BREAKING: Renamed `` to `` and improved compatibility for non-image content - Fixed a bug that caused `` to have an undesired margin below it - Fixed a bug in `` that caused incorrect spacing of icons +- Fixed a bug in the Matter theme that prevented clicks on form control labels to not focus the control ## 3.0.0-alpha.12 diff --git a/src/styles/themes/matter/overrides.css b/src/styles/themes/matter/overrides.css index 908c3f22a..ef42c8bcc 100644 --- a/src/styles/themes/matter/overrides.css +++ b/src/styles/themes/matter/overrides.css @@ -123,6 +123,7 @@ */ &::part(label) { transition: all var(--wa-transition-normal); + pointer-events: none; position: absolute; left: calc(var(--wa-space) - 0.25em);