Closed (works as designed)
Project:
Display Builder
Version:
1.0.x-dev
Component:
UI/UX/Islands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jun 2025 at 00:01 UTC
Updated:
26 Jul 2025 at 16:12 UTC
Jump to comment: Most recent


Comments
Comment #2
mogtofu33 commentedComment #3
mogtofu33 commentedComment #4
pdureau commentedHi Yannick,
Thanks for your issue. I am not reproducing it exactly.
With Olivero theme, when Layers panel is in the sidebar, instead of having a broken
sl-menu, I have the browser menu:With UI Suite Bootstrap theme, the right-click
sl-menuis always OK:So, Yannickoo, can you tell us more about your current setup?
Comment #5
mogtofu33 commentedWhat @yannickoo is pointing is that the menu can not be inspected (right click).
The
type="checkbox"is used to make the click event work and propagate as seen in the shoelace menu.I don't think we can remove this type, and I am not sure of the level of the issue here. Is there an accessibility problem?
Comment #6
yannickooI agree that removing the
type="checkbox"needs to be there but I am still wondering what could be the reason that the contextual menu doesn't render properly in a custom theme.Comment #7
mogtofu33 commentedCould you be more specific? Then the issue could be a conflict on the css with the custom theme?
Comment #8
mogtofu33 commentedComment #9
pdureau commentedComment #10
pdureau commentedWaiting for answer. Moved to alpha4.
Comment #11
yannickooAfter a while I was able to figure out the root cause for this: Ensure that your normalize / reset CSS code is not having generic selectors like
[type="checkbox"]butinput[type="checkbox"]instead to avoid overriding the CSS style of the contextual menu items 💡Closing this one but might be helpful for future ✨