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

Abnormal behavior when resizing #91

Closed
khjde1207 opened this issue Sep 3, 2023 · 4 comments · Fixed by #132
Closed

Abnormal behavior when resizing #91

khjde1207 opened this issue Sep 3, 2023 · 4 comments · Fixed by #132
Labels
bug Something isn't working

Comments

@khjde1207
Copy link

default.mp4

These days, phones with changing screen sizes are being released, such as the Google Pixel Fold.

When the screen size changes, it behaves abnormally.

@karvulf
Copy link
Owner

karvulf commented Sep 3, 2023

Hello @khjde1207
I see why this happens, I will try to find a fix for that

@karvulf karvulf added the bug Something isn't working label Sep 3, 2023
@khjde1207
Copy link
Author

khjde1207 commented Sep 3, 2023

thank you !

 LayoutBuilder(
            builder: (context, constraints) {
                return     ReorderableBuilder.builder(
                    key: Key(
                        "${gridViewKey.toString()} ${constraints.maxWidth}"),
....
..

I handled this temporarily by changing the key value based on the width.

@kevinsun-dev
Copy link

Bumping this issue, I'm using @khjde1207's hotfix for now, but once you attach a scrollcontroller, it throws an error about scrollcontroller mounting twice.

@karvulf karvulf linked a pull request Oct 4, 2024 that will close this issue
@karvulf
Copy link
Owner

karvulf commented Oct 6, 2024

This issue should be fixed and will come with the version 5.3.1 @kevinsun-dev @khjde1207

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.

3 participants