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

VGrid does not resize when the container size decreases #634

Open
SCG82 opened this issue Feb 24, 2025 · 3 comments
Open

VGrid does not resize when the container size decreases #634

SCG82 opened this issue Feb 24, 2025 · 3 comments

Comments

@SCG82
Copy link

SCG82 commented Feb 24, 2025

Describe the bug
When the VGrid container size decreases (i.e. on orientation change or when a sidebar is opened), VGrid does not adjust as expected.

@inokawa
Copy link
Owner

inokawa commented Feb 25, 2025

Could you write down how to reproduce it? VGrid is an experimental component so it may have bugs or some not good points.

@SCG82
Copy link
Author

SCG82 commented Feb 25, 2025

Here's a minimal example: https://codesandbox.io/p/sandbox/wandering-moon-ykgy4g

Open the preview in a new tab, maximize, restore and observe that the grid does not resize down.

@vilgeforc5
Copy link

vilgeforc5 commented Mar 8, 2025

Here's a minimal example: https://codesandbox.io/p/sandbox/wandering-moon-ykgy4g

Open the preview in a new tab, maximize, restore and observe that the grid does not resize down.

I've also experienced this issue, as quick fix you can assign unique key property to wrapper component ( it works for orientation change case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants