Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix #19221 #19254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2025
Merged

Fix #19221 #19254

merged 2 commits into from
May 8, 2025

Conversation

nielslyngsoe
Copy link
Member

Fixes #19221

image

This screenshot is from the Custom View Example which has elements with z-index 1000, before this fix that was ruining the UI, now it stays behind.

@nielslyngsoe nielslyngsoe enabled auto-merge (squash) May 6, 2025 16:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a UI layering issue as documented in issue #19221 by adjusting CSS z-index values and ensuring consistent attribute usage for extension components.

  • Adds the 'part' attribute to extension components in block entry elements
  • Introduces a shared style block for extension component parts to manage z-index
  • Updates the custom view component’s z-index to correctly layer the UI

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/Umbraco.Web.UI.Client/src/packages/block/block-rte/components/block-rte-entry/block-rte-entry.element.ts Adds setting of the 'part' attribute and inserts a style block for proper stacking
src/Umbraco.Web.UI.Client/src/packages/block/block-list/components/block-list-entry/block-list-entry.element.ts Adds setting of the 'part' attribute and inserts a style block for proper stacking
src/Umbraco.Web.UI.Client/src/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.ts Adds setting of the 'part' attribute and inserts a style block for proper stacking
src/Umbraco.Web.UI.Client/examples/block-custom-view/block-custom-view.ts Adjusts custom view CSS and updates z-index values to fix UI overlap issues
Comments suppressed due to low confidence (1)

src/Umbraco.Web.UI.Client/examples/block-custom-view/block-custom-view.ts:34

  • [nitpick] Verify that the new high z-index value is intentional and consistently fits within the overall stacking context to avoid potential overlap issues with other UI elements.
z-index: 10000;

@nielslyngsoe nielslyngsoe merged commit e9a5daf into release/16.0 May 8, 2025
23 checks passed
@nielslyngsoe nielslyngsoe deleted the v16/hotfix/19221 branch May 8, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants