[WC-3502]: fix gallery design mode preview blocking widget selection - #2383
Open
yordan-st wants to merge 1 commit into
Open
[WC-3502]: fix gallery design mode preview blocking widget selection#2383yordan-st wants to merge 1 commit into
yordan-st wants to merge 1 commit into
Conversation
gjulivan
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
In Studio Pro design mode, widgets placed inside a gallery item could not be
hovered or selected — double-clicking an image or text opened the properties of
the surrounding container instead. The decorative gradient fade drawn by
.widget-gallery-content::beforespans the full gallery content atz-index: 1and, lacking
pointer-events: none, captured all hit-testing, so Studio Proresolved clicks to the nearest ancestor.
Marked the pseudo-element as
pointer-events: none. It is purely decorative, sothe fade still renders identically while clicks pass through to the real widgets
underneath. The stylesheet is imported only by
Gallery.editorPreview.tsx, sothere is no runtime impact.
Ticket: https://mendix.atlassian.net/browse/WC-3502
No docs PR needed — no XML changes, no runtime behavior change. Changelog entry
added under
[Unreleased].What should be covered while testing?
Studio Pro 11.12.1 (the version the issue was reported against):
should open (before the fix: Container properties opened).
not on the container.
Note: design-mode preview bundles are cached — press F4 (Synchronize project
directory) after deploying the widget, and reopen the app if the old behaviour
persists.