Repository navigation
Prevent scrollbars in dashboard Events grid cells - #20425
Conversation
Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20425Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20425" |
Tests selector13 / 99 PR test projects · 2 PR jobs, from 1 changed file. Selected PR test projects (13 / 99)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project Job reasons
Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused visual-only CSS change matches the described behavior without introducing functional concerns.
Review effort: Balanced
Findings: None
What changed in this PR
Prevents nested resize handles from creating scrollbars in multiline dashboard Events cells.
Changes:
- Targets multiline property-grid cells via their
multilineattribute. - Clips overflow instead of creating scrollable areas.
| File | Description |
|---|---|
src/Aspire.Dashboard/Components/Controls/PropertyGrid.razor.css |
Clips overflow in multiline property-grid cells. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
✅ No documentation update needed. Step 5 branch taken
Triggered signals (2)
Why no docs update is neededThe only changed file is -::deep.property-grid td.multiline-text {
- overflow-x: hidden !important;
+.property-grid ::deep td[multiline] {
+ overflow: clip;
}This is a pure CSS bug fix: multiline property-grid cells (used inside the trace details Events grid) previously showed scrollbars when nested attribute grids' resize handles extended the cell's scrollable area beyond its visible content. The fix clips overflow instead. No new feature, option, API, page, or documented behavior was added or changed — it only corrects a rendering glitch in an already-existing, already-screenshotted UI area ( PR/review comment threads were checked and contain only bot-generated dogfood/test-selector comments — no reviewer discussion of docs-relevant nuance. Both triggered signals are confirmed false positives for this specific PR: the flag-mention is a (summary truncated) |
|
/backport to release/13.6 |
|
Started backporting to |
) Backport of #20425 to release/13.6 /cc @JamesNK ## Customer Impact Trace Events grids show scrollbars inside multiline cells when span events contain nested attribute grids, obscuring the intended presentation. ## Testing `dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restore /p:SkipNativeBuild=true` passed; browser validation confirmed all five events and attributes remained present and none of the ten multiline cells were scrollable. ## Risk Low. The change is localized CSS for multiline property-grid cell overflow, with the existing text visualizer retained for truncated values. ## Regression? Yes Co-authored-by: James Newton-King <[email protected]> Co-authored-by: Copilot <[email protected]>
Description
The trace details Events grid showed scrollbars inside multiline cells when span events contained nested attribute grids. The resize handles inside those grids extended the cells' scrollable area beyond their visible content.
Multiline property-grid cells now clip overflow instead of creating scroll panes. Event names and attributes remain visible, with the existing text visualizer available for truncated values.
Screenshots / Recordings
User-facing usage
Open a trace, select a span with attributed events, and expand Events. For example, the Stress playground's Gen AI evaluations command produces five events with nested attributes.
Validation:
dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restore /p:SkipNativeBuild=truepassed. Verified in the browser that all five events and their attributes are present and none of the ten multiline Events cells are scrollable.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?