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

Resizing of columns does not work correctly when stretchH is used and columns were moved #8726

Open
AMBudnik opened this issue Sep 17, 2021 · 0 comments

Comments

@AMBudnik
Copy link
Contributor

AMBudnik commented Sep 17, 2021

Description

Resizing of columns does not work correctly when stretchH is used and columns were moved.

It doesn't seem to be a regression. I've tested it out with v9.0.2., v8 and v7.

Case 1

  1. Resize column A to be narrow
  2. Move column B before A
  3. Try to resize the first column again

issue_1
Result: Column does not want to be resized.

Case 2

  1. Go to https://jsfiddle.net/7n8Lvgct/1/ (stretchH changed value from all to last)
  2. Move column B before A
  3. Try to resize the first column

issue_2
Result: The table no longer takes 100% of the possible space.

Case 3

  1. Go to https://jsfiddle.net/7n8Lvgct/2/
  2. Resize a bit both columns to make them wider
  3. Wait for the postponed method to attach stretchH

issue_3
Result: Only the last column is stretched. Even though the last column ended up marrows after column resize
image
(view before the updateSettings executed)

Demo

https://jsfiddle.net/7n8Lvgct/

Your environment

  • Handsontable version: 9.0.2
  • Browser Name and version: Chrome 93
  • Operating System: Windows 10

Inform forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants