Skip to content

fix(grid): Make sure border does not appear when new theme is loaded runtime.#17032

Open
MayaKirova wants to merge 5 commits into20.1.xfrom
mkirova/fix-3903-20.1.x
Open

fix(grid): Make sure border does not appear when new theme is loaded runtime.#17032
MayaKirova wants to merge 5 commits into20.1.xfrom
mkirova/fix-3903-20.1.x

Conversation

@MayaKirova
Copy link
Copy Markdown
Contributor

Closes IgniteUI/igniteui-angular-samples#3903

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

@dkamburov dkamburov requested a review from skrustev April 2, 2026 15:47
@dkamburov dkamburov added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Apr 2, 2026
Copilot AI review requested due to automatic review settings April 3, 2026 06:57
Copy link
Copy Markdown
Contributor

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

Fixes a visual regression where merged grid rows can show a bottom border when a new theme stylesheet is loaded at runtime (repro added in the cell merging sample).

Changes:

  • Add a runtime theme CSS toggle to the grid-cellMerging sample to reproduce the issue.
  • Ensure merged rows don’t render a bottom border by strengthening the merged-row border override in the grid theme styles.
  • Remove a repaint-related recalcUpdateSizes() call from row height resolution logic.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/grid-cellMerging/grid-cellMerging.component.ts Adds runtime theme stylesheet injection/removal and a signal for button state.
src/app/grid-cellMerging/grid-cellMerging.component.html Adds a toggle button to load/unload the runtime theme CSS.
projects/igniteui-angular/src/lib/grids/row.directive.ts Removes a size-cache recalculation side-effect during row height evaluation.
projects/igniteui-angular/src/lib/core/styles/components/grid/_grid-theme.scss Forces merged row bottom border to stay removed even under runtime theme overrides.
angular.json Copies grid-cellMerging/theme.css into build assets so it can be loaded at runtime.

@MayaKirova MayaKirova removed the ✅ status: verified Applies to PRs that have passed manual verification label Apr 3, 2026
@MayaKirova MayaKirova added the ❌ status: awaiting-test PRs awaiting manual verification label Apr 3, 2026
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.

5 participants