fix(pivot-grid): match scroll-start border/background to header cells - #17600
Open
simeonoff wants to merge 2 commits into
Open
fix(pivot-grid): match scroll-start border/background to header cells#17600simeonoff wants to merge 2 commits into
simeonoff wants to merge 2 commits into
Conversation
simeonoff
requested review from
desig9stein and
mddragnev
and
a lite review from Copilot
and removed request for
mddragnev
September 11, 2026 13:15
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Moderate findings require regression coverage before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Fixes Pivot Grid scroll-start styling to match header cells and removes an inherited filler border.
Changes:
- Extracts shared Sass variables.
- Adds scoped Pivot Grid styling and host-class wiring.
- Removes the filler wrapper’s inherited separator border.
File summaries
| File | Summary |
|---|---|
projects/igniteui-angular/grids/themes/_variables.scss |
Centralizes shared grid Sass variables. |
projects/igniteui-angular/grids/themes/_base.scss |
Applies extracted variables and suppresses the filler separator; moderate regression coverage and a comment typo remain. |
projects/igniteui-angular/grids/pivot-grid/src/themes/grid/_base.scss |
Adds scoped Pivot Grid overrides; moderate styling regression coverage remains. |
projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.ts |
Wires styles and adds the pivot host class; a nit recommends declarative host metadata. |
projects/igniteui-angular/grids/pivot-grid/src/pivot-grid.component.scss |
Imports the Pivot Grid theme styles. |
Review details
Suppressed comments (1)
projects/igniteui-angular/grids/themes/_base.scss:2765
- The comment contains the duplicated article “the thead/tbody”; please reword it to avoid the typo.
// so it shouldn't carry the thead/tbody separator border.
- Files reviewed: 5/5 changed files
- Comments generated: 3
- Review effort level: Lite
Co-authored-by: simeonoff <4118303+simeonoff@users.noreply.github.com>
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.
Fixes #17584
Description
IgxPivotGridComponentno longer inherits the shared, unscoped.igx-grid__scroll-start--pinnedbold border/content-backgroundfill used byIgxGrid/IgxTreeGrid/IgxHierarchicalGrid. A new.igx-grid--pivothost class scopes pivot-only overrides (border matches the plain header border, background matchesheader-background) via a dedicatedpivot-grid.component.scss/themes/grid/_base.scsspair, wired through Angular's normalstyleUrlinstead of touching the shared grid theme file.Also removes the stray
border-bottominherited by.igx-pivot-grid-row-filler__wrapper's reused header markup. Shared grid Sass variables ($grid-header-border,$grid-pinned-border, z-indices, etc.) were extracted intogrids/themes/_variables.scssso both the shared grid theme and the new pivot-grid theme file can consume them without duplication.Motivation / Context
Fixes #17584 — the pivot grid rendered a bold "pinned column" border (and mismatched background) on the horizontal scrollbar's leading edge, even though pivot's row dimensions aren't part of the public column-pinning API. The border should visually match the plain header/cell border pivot's row dimension cells actually use.
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
Pivot Grid (theming/styles only —
grids/pivot-grid,grids/themes)How Has This Been Tested?
Verified
npm run build:styles:componentscompiles the new/changed SCSS without errors and produces the expected scoped selectors (.igx-grid--pivot .igx-grid__scroll-start(--pinned),.igx-pivot-grid-row-filler__wrapper .igx-grid-thead__wrapper), confirmednpm run lint:stylesandeslintpass, and confirmed the unrelatedgrid-base.styles.tsoutput (flat/tree/hierarchical grids) is unchanged after the variable extraction. Visual/browser verification against the pivot hierarchy dev sample and the pivot-grid Karma suite (npm run test:lib:pgrid) are still outstanding.Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)