Skip to content

Column Resizing Epic #3007

@snowystinger

Description

@snowystinger

GA blockers:

Bugs to fix:

  • Select all checkbox disappears in FF/Chrome
    • Go to story, "allowsresizing-many-columns-and-rows". Resize a column. Horizontally scroll. The select all checkbox in the header disappears.
    • Appears to be an issue with persisted keys because the select all checkbox is actually being removed from the dom
    • Resizing a column using keyboard (try 3rd col in "allows resizing, uncontrolled, sortable columns"). Make the column larger until you see the "select all" checkbox disappear.
    • Also just scroll horizontally with mouse in many rows/cols story with resize
  • Restore FF hover styles when menu closes RSP Component Milestones (view)
    • Click a header menu open, click again to close. None of the resizers are visible until the mouse is moved.
  • Table body becomes out of sync with header on scoll. (Safari)
    • Goto "allowsResizing, uncontrolled, sortable columns", resize the "Title" column wider, so the "Author" column's right/end edge is outside of the table. Start to resize author. The table header scrolls the entire column and resizer into view, but the table body does not scroll. Headers and body aren't lined up.
  • Once the Nubbin is visible, moving column to column should still display it. (Touch)
    • Resizing should end if you tap on the table body. Tapping on another column's header while in resize shouldn't cause the menu to open nor exit resizing.
  • Resizer can separate in RTL languages, Safari RSP Component Milestones (view)
  • Holding enter key can cause rapid focus changes
    • If you press and hold the Enter key on the "Resize column" menu item, it goes into resizing mode, then immediately goes out of it, then opens the menu again. Check what usePress does to ignore repeat events, or do it on keyup.
  • Divider sticks out a little over the Nubbin for column resizing, FF RSP Component Milestones (view)

Beta Work
Summary of remaining items for Col resizing Beta:

  • useTableColumnResizeState takes table state, but needs the type on the hook - rob
  • RSP docs example, add beta label - daniel - Table resizing docs #3840
  • Layout performance PR needs reviews and merging - devon

More remaining

Testing session:

🙋 Feature Request

Refactor

Features

Bug fixes/investigations

Design: see contribution site

Nice to have:

  • get rid of all reference to resizing in useTableColumnHeader Table Column Resize via screen readers #3295
  • change signature of useTableColumnResizeState so it's not GridNodes takes table state, but needs the type on the aria hook

🧢 Your Company/Team

RSP
.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions