mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.3k stars 292 forks source link

Datagrid vertical resizing acts strange #2765

Open Janpot opened 1 year ago

Janpot commented 1 year ago

Duplicates

Latest version

Steps to reproduce 🕹

Steps:

  1. Add two data grids on a row
  2. Try to reduce and increase the size of one of the

Current behavior 😯

It doesn't always let me size it to the size I want

https://github.com/mui/mui-toolpad/assets/2109932/925c51de-d303-4a61-b7ea-cef6673a06b8

Also I don't think it makes much sense to show the grid columns while vertically resizing

Expected behavior 🤔

No response

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```
apedroferreira commented 1 year ago

I noticed quite a few bugs around resizing, will try to fix them all soon.

apedroferreira commented 1 year ago

I'll try to solve this by creating a Spacer component automatically like we've talked about