Skip to content

Tags: react-component/table

Tags

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoid rc package deep imports (#1489)

* fix: avoid rc package deep imports

* fix: address table test setup

* fix: trim public exports

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message
chore: bump version to 1.10.1

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: scrollTo add align support (#1469)

* feat: scrollTo add align

* Update README.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update src/Table.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update src/interface.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix: virtual table scrollTo align support

- Add VirtualScrollConfig type with Exclude<ScrollLogicalPosition, 'center'>
- Implement align mapping for virtual table (start->top, end->bottom, nearest->auto)
- Add default align 'auto' when neither align nor offset provided
- Add backward compatibility: default to 'top' when offset provided but align not
- Update tests to cover align parameter scenarios
- Fix offset JSDoc comment

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* fix: implement real nearest behavior with offset in Table scrollTo

- Fix nearest align to compute position after offset, then determine if scrolling is needed
- Add align test buttons to scrollY and virtual demo files
- Update center calculation formula

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* fix: improve virtual table align handling

Use nullish coalescing for safer align fallback

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* test: add test for nearest align with element above viewport

Adds test coverage for the scrollTo nearest alignment when the target
element is above the current viewport after applying offset.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* refactor: unify align handling with switch statement

Move nearest logic into switch for consistent code style.
Also extract static ALIGN_MAP constant in BodyGrid.tsx.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* fix: refine scrollIntoView with offset handling

- Simplify scrollY demo buttons
- Update README to note virtual table doesn't support center align
- Refactor offset logic: call scrollIntoView first, then apply offset via scrollTo

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

* fix: simplify offset handling - scrollIntoView first then add offset

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: 刘欢 <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <[email protected]>

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
chore: bump version to 1.9.1

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
chore: bump version to 1.9.0

@rc-component/[email protected]

Toggle @rc-component/[email protected]'s commit message
chore: bump version to 1.8.2

v7.55.1

Toggle v7.55.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Revert "fix: duplicate unique identifiers in MeasureRow column headers (

#1376)" (#1377)

v7.55.0

Toggle v7.55.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix: duplicate unique identifiers in MeasureRow column headers (#1376)

Co-authored-by: 路振凯 <l>

v7.54.0

Toggle v7.54.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Table MeasureRow bug when children have refs (#1367)

* fix: Table MeasureRow bug when children have refs

* refactor: remove unused ColumnType import in MeasureCell.tsx

---------

Co-authored-by: keda <[email protected]>

v7.53.1

Toggle v7.53.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
7.53.1