ClickHouse / ClickHouse/click-ui

[Bug]: unexpected computed values for resize width

Open
#898 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
135
Forks
33
Avg merge
2d 13h
Merged PRs (30d)
19

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.