From 2c873eea42ae98b6aa7cef9a3413d494c0959831 Mon Sep 17 00:00:00 2001 From: Yordan Stoyanov Date: Thu, 13 Aug 2026 17:54:54 +0200 Subject: [PATCH] fix(gallery-web): let design mode select widgets in gallery items --- packages/pluggableWidgets/gallery-web/CHANGELOG.md | 2 ++ .../pluggableWidgets/gallery-web/src/ui/GalleryPreview.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/packages/pluggableWidgets/gallery-web/CHANGELOG.md b/packages/pluggableWidgets/gallery-web/CHANGELOG.md index c3cf354f6c..26d7a379e9 100644 --- a/packages/pluggableWidgets/gallery-web/CHANGELOG.md +++ b/packages/pluggableWidgets/gallery-web/CHANGELOG.md @@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We fixed an issue where the Gallery widget could crash with an "invalid attribute id" error when a stored sort order referenced an attribute that was no longer available. The widget now falls back to the default sort order instead. +- We fixed an issue in Studio Pro design mode where widgets placed inside a gallery item could not be selected or hovered. Double-clicking them opened the properties of the surrounding container instead. + ## [3.11.3] - 2026-07-27 ### Fixed diff --git a/packages/pluggableWidgets/gallery-web/src/ui/GalleryPreview.scss b/packages/pluggableWidgets/gallery-web/src/ui/GalleryPreview.scss index 63cd49f78d..768c7139a2 100644 --- a/packages/pluggableWidgets/gallery-web/src/ui/GalleryPreview.scss +++ b/packages/pluggableWidgets/gallery-web/src/ui/GalleryPreview.scss @@ -16,4 +16,8 @@ rgba(255, 255, 255, 0.75) 100% ); z-index: 1; + // Purely decorative fade. Without this, the overlay swallows hit-testing in + // Studio Pro design mode, so clicks on widgets inside a gallery item resolve + // to the surrounding container instead. + pointer-events: none; }