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

[Bug] Set column minWidth and maxWidth doesn't work when using with rowSeriesNumber #1572

Closed
KiddoV opened this issue Apr 22, 2024 · 0 comments · Fixed by #1584
Closed

[Bug] Set column minWidth and maxWidth doesn't work when using with rowSeriesNumber #1572

KiddoV opened this issue Apr 22, 2024 · 0 comments · Fixed by #1584
Assignees
Labels
bug Something isn't working

Comments

@KiddoV
Copy link

KiddoV commented Apr 22, 2024

Version

^0.23.3

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/vtable-simple-demo-forked-p6vgd9?file=%2Fsrc%2Findex.ts%3A39%2C15

Steps to Reproduce

  1. Set container width to 100%.
  2. Add rowSeriesNumber option.
  3. Set minWidth and maxWidth of a column. (Last one in the example)
  4. Change the window size to see the effect.

Current Behavior

The column with options minWidth and maxWidth doesn't stay the same width when change window size.
Also it would somehow effect the width of column next to it as well. (Make it smaller).

Expected Behavior

Width should stay the same when set min and max when using option: rowSeriesNumber.
The column next to the column with minWidth and maxWidth option should behave normally.

Environment

- OS: Windows 10
- Browser: Webview2
- Framework: Svelte^4

Any additional comments?

bug

@KiddoV KiddoV added the bug Something isn't working label Apr 22, 2024
@KiddoV KiddoV changed the title [Bug] Set column minWidth and maxWidth doesn't work when using rowSeriesNumber [Bug] Set column minWidth and maxWidth doesn't work when using with rowSeriesNumber Apr 22, 2024
@fangsmile fangsmile self-assigned this Apr 23, 2024
@fangsmile fangsmile linked a pull request Apr 23, 2024 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants