UI5 / UI5/webcomponents

ui5-dialog: grey `box-shadow` artifact rendered on open (Windows only)

Open
#13,950 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Medium Prio TOPIC RD
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Bug Description

When a ui5-dialog is opened, a large grey square is painted around the dialog instead of the soft drop shadow. The grey box appears to originate from the dialog's box-shadow not being composited/blurred correctly on the initial paint. As soon as the user interacts with the page (e.g. focus change), the artifact disappears and the correct soft shadow is shown.

Only reproducible on Windows and outside of an iframe. Not reproducible on macOS.

Affected Component

ui5-dialog

Expected Behaviour

No response

Isolated Example

https://stackblitz.com/edit/github-shqo5zpt?file=index.html,main.js

Steps to Reproduce
  1. Open the StackBlitz link on Windows.
  2. Click on "Open the preview in new Tab" as it's not reproducible inside an iframe
  3. Click "Open Dialog".
  4. Observe the grey square around the dialog (instead of a soft shadow).
  5. Select a list item -> the grey box disappears and the correct soft drop shadow is shown.
Log Output, Stack Trace or Screenshots
Image
Priority

None

UI5 Web Components Version

2.25.0

Browser

Chrome, Edge

Operating System

Windows

Additional Context

No response

Organization

SIX Technologies

Declaration
  • I’m not disclosing any internal or sensitive information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the isolated StackBlitz example, especially index.html and main.js, and reproduce the issue in Chrome or Edge on Windows outside the iframe. Inspect the ui5-dialog rendering and box-shadow behavior during its initial open. Done means the dialog shows its soft shadow immediately, without the grey square disappearing only after focus or other interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.