Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Resizing Epic #3007

Closed
50 of 61 tasks
snowystinger opened this issue Apr 5, 2022 · 3 comments
Closed
50 of 61 tasks

Column Resizing Epic #3007

snowystinger opened this issue Apr 5, 2022 · 3 comments
Assignees

Comments

@snowystinger
Copy link
Member

snowystinger commented Apr 5, 2022

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 https://github.com/orgs/adobe/projects/19/views/18?filterQuery=&pane=issue&itemId=18311574
    • 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 https://github.com/orgs/adobe/projects/19/views/18?filterQuery=&pane=issue&itemId=18311610
  • 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 https://github.com/orgs/adobe/projects/19/views/18?filterQuery=&pane=issue&itemId=11755040

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
.

@tiffany-sy-lin
Copy link
Collaborator

tiffany-sy-lin commented Dec 20, 2022

When setting a column minWidth to a percentage value and the rest of the columns to a maxWidth value and an extra wide table, the column with the minWidth values does not expand to fit the extra space like it does when minWidth is set to a numeric value
Screenshot 2022-12-20 at 13 44 44
https://codesandbox.io/s/sad-bash-vcyqmx?file=/src/App.js

To reproduce: Make the preview side very wide so that there are no horizontal scrollbars. There shouldn't be empty space on the right of the second table.

@snowystinger
Copy link
Member Author

@tiffany-sy-lin I've addressed your issue in #3879

@snowystinger
Copy link
Member Author

Closing, remaining items are captured in backlog

@github-project-automation github-project-automation bot moved this from 📋 Waiting for Sprint to ✅ Done in RSP Component Milestones Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants