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

Tables with merged cells bug out with "Resize Last Column" #4410

Open
2 tasks done
Peeeet opened this issue May 17, 2024 · 0 comments
Open
2 tasks done

Tables with merged cells bug out with "Resize Last Column" #4410

Peeeet opened this issue May 17, 2024 · 0 comments

Comments

@Peeeet
Copy link

Peeeet commented May 17, 2024

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
If you try to turn on the "Resize Last Column" property (AKA resizelast=1; in the Edit Style dialog) for a table that has merged cells, it will cause the table to expand and the display of said table to bug out. If "Resize Last Column" is already enabled, then you can merge one set of cells without issue, but the second set will cause the same behavior. In either case, disabling "Resize Last Column" will restore the table to it's proper display, but at the new wider width. Continuously toggling this setting while there are merged cells will cause the table to grow indefinitely.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://draw.io'
  2. Click on 'Decide Later' for the storage options
  3. Add a new table of any size above 2x2 using the "Table Tool" from the toolbar.
  4. Merge any 2 or more cells using either the "Merge" button in the "Arrange" tab, or the "Colspan" property.
  5. Enable the "Resize Last Column" property.
  6. See error

Expected behavior
Nothing should happen when that setting is enabled or disabled, and the Resize Last Column function should work as otherwise when the table is resized.

Screenshots
Before Enabling "Resize Last Column":
image

After enabling "Resize Last Column":
image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.4.3

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser Google Chrome
  • Browser Version 124.0.6367.208 (Official Build) (64-bit)

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context
Note that this issue does not happen with "Resize Last Row".

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

No branches or pull requests

1 participant