fix(UniverSheet): keep merged cells on range move and last-column print fill - #1135
Merged
Merged
Conversation
|
Thanks for your PR, @zhaijunlei955. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideReplaces the generated Univer 0.25.0 bundle with a forked build that preserves merges during same-sheet range moves, fixes print-preview rendering at exact row/column boundaries, and stabilizes drawing behavior across workbook visibility, scrolling, and disposal; no public C# or JavaScript API changes are introduced. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
ArgoZhang
previously approved these changes
Sep 15, 2026
ArgoZhang
approved these changes
Sep 15, 2026
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.
Link issues
fixes #1138
Summary
Rebuild
wwwroot/univer/univer-bundle.jsfrom Univerv0.25.0(fork8f1ac99cb, webpack2026-09-08).This replaces the stock concat bundle. Runtime still loads this one file; no public C# / JS API change.
User-visible fixes
Out of scope
Cross-sheet cut/paste still does not move merges with the cells. That needs a separate Univer fix.
Regression?
Stock Univer 0.25.0 behavior is unchanged except the cases above. Screen rendering (non-print) is untouched by the print-range patch.
Risk
Single large asset replace (
univer-bundle.js). Please smoke-test sheet edit, print preview, and any offscreen print/export path.Verification
Manual (required)
Automated
Move / cut-paste a block of row-wise merged cells up/down by one row (self-overlap): merges remain.
Move the same block left/right when merges sit on the edge: command succeeds.
Print a sheet whose last used column’s right edge lands on the viewport bound: last column fill and border still render.
Batch print/export with drawings: visible images stay; Edit/Delete popup still appears afterward.
Packaging changes reviewed?
Please bump
BootstrapBlazor.UniverSheetfrom10.0.15→10.0.16in this PR if this should ship as a NuGet.☑️ Self Check before Merge
Summary by Sourcery
Update UniverSheet to preserve range content, print formatting, and drawing state across sheet operations and workbook transitions.
Bug Fixes:
Build: