Skip to content

[Bug]: unexpected computed values for resize width #898

@punkbit

Description

@punkbit

What happened?

Image

@rndD reports "the error happens when I try to resize the column" shows:

const diff = e.clientX - startX;
    const newWidth = startWidth + diff;
    const newNextWidth = nextStartWidth - diff;
    if (!newWidth || !newNextWidth) {
      console.warn("Unexpected computed values for resize width", {
        newWidth,
        newNextWidth
      });
      return;
    }

Component(s) affected

Table

How to reproduce

Resize table

Click UI Version

0.1.0-rc.70 (pre-release)

Browser(s)

Chrome

Operating system

macOS

Is this a regression?

Not sure

Last working version (if regression)

No response

Screenshots or recording

No response

Visual / UX checklist

  • Checked in both light and dark mode (if applicable)
  • Checked at different viewport sizes (if applicable)
  • Checked with keyboard navigation (if applicable)
  • Checked for visual regressions in related components

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions