fix: canonicalize the frozen-row boundary across all comparison sites - #2706
Open
ghiscoding wants to merge 2 commits into
Open
fix: canonicalize the frozen-row boundary across all comparison sites#2706ghiscoding wants to merge 2 commits into
ghiscoding wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2706 +/- ##
=======================================
Coverage 100.0% 100.0%
=======================================
Files 200 200
Lines 25503 25496 -7
Branches 9020 9010 -10
=======================================
- Hits 25503 25496 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
angular-slickgrid
aurelia-slickgrid
slickgrid-react
slickgrid-vue
@slickgrid-universal/angular-row-detail-plugin
@slickgrid-universal/aurelia-row-detail-plugin
@slickgrid-universal/react-row-detail-plugin
@slickgrid-universal/vue-row-detail-plugin
@slickgrid-universal/binding
@slickgrid-universal/common
@slickgrid-universal/composite-editor-component
@slickgrid-universal/custom-footer-component
@slickgrid-universal/custom-tooltip-plugin
@slickgrid-universal/empty-warning-component
@slickgrid-universal/event-pub-sub
@slickgrid-universal/excel-export
@slickgrid-universal/graphql
@slickgrid-universal/odata
@slickgrid-universal/pagination-component
@slickgrid-universal/pdf-export
@slickgrid-universal/row-detail-view-plugin
@slickgrid-universal/rxjs-observable
@slickgrid-universal/sql
@slickgrid-universal/text-export
@slickgrid-universal/utils
@slickgrid-universal/vanilla-bundle
@slickgrid-universal/vanilla-force-bundle
@slickgrid-universal/web-mcp
commit: |
6pac-ai
added a commit
to 6pac/SlickGrid
that referenced
this pull request
Aug 9, 2026
Port of ghiscoding/slickgrid-universal#2706: force the mousedown and first mousemove in dragStart (force was previously absent here) and release the drag with a body mouseup in dragEnd. The frozen-grid auto-scroll test failed constantly after the boundary canonicalization because the drag target's coordinates now land where the example page's descriptive text overlaps the grid under scrollBehavior:false; the assertions are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6pac
pushed a commit
to 6pac/SlickGrid
that referenced
this pull request
Aug 9, 2026
…#1268) * fix: canonicalize the frozen-row boundary across all comparison sites The row-band boundary was compared differently at six sites, contradicting each other and the render split (rows >= actualFrozenRow render in the bottom canvas): - appendRowHtml classed rows 'frozen' via row <= frozenRow (a COUNT compare): in bottom mode the first frozenRow+1 scrollable rows were classed and the actually-pinned rows never were; off-by-one in top mode - cleanupRows and cleanUpCells exempted <= actualFrozenRow, sparing the first SCROLLABLE row from cache eviction and cell cleanup in top mode - _getContainerElement (getCanvasNode/getViewportNode) classified with >= actualFrozenRow + 1 in top mode, returning the TOP pane for a row whose DOM lives in the BOTTOM canvas (overlay/menu positioning via the public API mis-targeted exactly the boundary row) - scrollRowIntoView used actualFrozenRow - 1 boundaries, refusing to scroll the LAST scrollable row in bottom mode (navigateToPos, one screen away, already used the correct comparison) All sites now route through two predicates matching the render split: isBottomBandRow (row >= actualFrozenRow) and isFrozenRowIdx (frozenBottom ? row >= actualFrozenRow : row < actualFrozenRow). Net -5 lines. Downstream note: slickgrid-universal maintains its own fork of this grid (verified by clone+grep - it does not consume this file at runtime), so this cannot break it; its fork carries the same isBottomSide off-by-one and may want to port the fix. Adds a permanent SELF-HOSTING regression test (cypress/e2e/quirk-frozen- row-boundary.cy.ts) with one check per drifted site. Verified pre-fix failures on every site (frozen class [0,1,2,3] in BOTH modes; pane lookup disagreement; scroll refusal; no eviction) and all-pass with the fix; frozen-family suites incl. the merged quirk specs ran 27/27. NOTE: examples/example-quirk-frozen-row-boundary.html is a TEMPORARY human-review repro page (tinted .frozen rows + pane-lookup/scroll readouts) intended to be deleted before merge - the cypress test does not depend on it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * test: harden cypress drag helpers against actionability failures Port of ghiscoding/slickgrid-universal#2706: force the mousedown and first mousemove in dragStart (force was previously absent here) and release the drag with a body mouseup in dragEnd. The frozen-grid auto-scroll test failed constantly after the boundary canonicalization because the drag target's coordinates now land where the example page's descriptive text overlaps the grid under scrollBehavior:false; the assertions are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.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.
verified by Copilot using GPT-5.3-Codex
Port bug fix from 6pac/SlickGrid PR 6pac/SlickGrid#1268 into slickgrid-universal