-
Notifications
You must be signed in to change notification settings - Fork 1
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 breaking grid? #6
Comments
Hi, I'm not sure that I can fully reproduce the issue. With the same config I can make a column or several columns narrow, then resize the window so that width becomes -1px, but the rows are still visible with all their contents. Could you please provide precise steps to achieve the effect and perhaps the CSS rules of the |
I think I've narrowed it down to an issue specifically with 2.0.0-beta-3. It doesn't happen with beta-2, and it seems fixed in 2.0.1 which I just realized is available, so you can probably close this. You can try this example - I've stripped it down to the minimum.
For reference, index.html:
...and the "main.ts" for the Svelte app:
It seems you don't even need to resize the columns (in this version, you can't). Just resizing the window smaller than the grid causes the behavior with no resizing columns and no styling. |
Yep, these betas weren't stable enough, and good to know that 2.0.1 fixes the issue. Thank you for getting back with this |
I have this grid:
The columns are defined as:
If you resize the grid and columns so that the columns are very small and then attempt to make the container smaller (e.g., by resizing the whole window), it breaks the grid. As far as I can tell, this happens when flexgrow makes the columns too small and then you end up with negative values for the total grid width somehow:
Step 1: very small column widths:
Step 2: make the window even smaller:
You'll get a scrollbar, a negative width for the table, and no visible rows at all.
The text was updated successfully, but these errors were encountered: