diff --git a/.trellis/workspace/hechang27-sprt/index.md b/.trellis/workspace/hechang27-sprt/index.md index 0512f62..2df5a3b 100644 --- a/.trellis/workspace/hechang27-sprt/index.md +++ b/.trellis/workspace/hechang27-sprt/index.md @@ -8,7 +8,7 @@ - **Active File**: `journal-1.md` -- **Total Sessions**: 13 +- **Total Sessions**: 14 - **Last Active**: 2026-04-02 @@ -19,7 +19,7 @@ | File | Lines | Status | |------|-------|--------| -| `journal-1.md` | ~551 | Active | +| `journal-1.md` | ~587 | Active | --- @@ -29,6 +29,7 @@ | # | Date | Title | Commits | |---|------|-------|---------| +| 14 | 2026-04-02 | Fix list-table-v2 fixed column cropping and horizontal scroll | - | | 13 | 2026-04-02 | Attempt Pretext row height estimation for el-table-v2 | stashed | | 12 | 2026-04-02 | Pretext integration exploration - virtual table issues | `0764ee2` | | 11 | 2026-04-01 | Research Pretext.js integration approach | `423d7ef` | diff --git a/.trellis/workspace/hechang27-sprt/journal-1.md b/.trellis/workspace/hechang27-sprt/journal-1.md index b732217..8631263 100644 --- a/.trellis/workspace/hechang27-sprt/journal-1.md +++ b/.trellis/workspace/hechang27-sprt/journal-1.md @@ -549,3 +549,39 @@ Tried to integrate Pretext.js for DOM-less row height estimation. Key finding: e ### Next Steps - None - task complete + + +## Session 14: Fix list-table-v2 fixed column cropping and horizontal scroll + +**Date**: 2026-04-02 +**Task**: Fix list-table-v2 fixed column cropping and horizontal scroll + +### Summary + +Fixed list-table-v2 issues: + +1. Fixed columns were cropped even with width:120 - el-table-v2 needed table-level fixed=true prop +2. Added hasFixedColumns computed to detect fixed columns and pass :fixed to el-table-v2 +3. Fixed column width logic: fixed columns without explicit width now use minWidth as width WITHOUT flexGrow (flexGrow caused cropping in el-table-v2's internal fixed sub-table layout) +4. Non-fixed columns keep flexGrow:1 for auto-distribution +5. Horizontal scrolling for non-fixed tables with flexGrow is mutually exclusive - flexGrow fills space, preventing overflow + +### Main Changes + + + +### Git Commits + +(No commits - planning session) + +### Testing + +- [OK] (Add test results) + +### Status + +[OK] **Completed** + +### Next Steps + +- None - task complete