Skip to content

Conversation

@johanrd
Copy link
Contributor

@johanrd johanrd commented Aug 25, 2025

Fixes unexpected resize handling with table layout: fixed.

Before:
https://github.com/user-attachments/assets/069a6f6e-3a20-4ca8-bcb2-36521a140575

…ixed-table layouts

With fixed table layout you can set `tableLayout: fixed` for a simpler calculation of column widths where the resize handle only resizes the column that is being resized.
@johanrd johanrd changed the title Simple column resizing setting with table layout fixed: tableLayout: 'fixed' Simple column resizing setting with tableLayout: 'fixed' Aug 25, 2025
* main:
  Prepare Release using 'release-plan'
  remove unused @ts-expect-error
  pass through generics of resize handle
  consistency
  make sure generics are passed into helpers
@NullVoxPopuli NullVoxPopuli added the enhancement New feature or request label Aug 25, 2025
* default: 'auto'
*/
tableLayout?: 'auto' | 'fixed';
tableLayout?: string;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why Typescript can't retain the correct context here. I guess we have the same issue in handlePosition and optionsFor etc.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NullVoxPopuli
Copy link
Contributor

tyty

@NullVoxPopuli NullVoxPopuli merged commit 8db9510 into universal-ember:main Aug 25, 2025
13 checks passed
@github-actions github-actions bot mentioned this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants