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

RefreshIndicator problems with ReorderableGridView #7

Closed
timonaldenhoff opened this issue Nov 12, 2021 · 4 comments · Fixed by #8
Closed

RefreshIndicator problems with ReorderableGridView #7

timonaldenhoff opened this issue Nov 12, 2021 · 4 comments · Fixed by #8
Labels
bug Something isn't working

Comments

@timonaldenhoff
Copy link

In my app, I use an Refreshindicator to reload data and it worked fine with the normal GridView.

I use the ReorderableWrap when the display is too small for > 1 columns. There are no problems with the RefreshIndicator.

Do you have an idea / fix for this?

Flutter tree:
RefreshIndicator
-- Container
-- ValueListenableBuilder
-- ReorderableGridView

Thank you very much!

@karvulf
Copy link
Owner

karvulf commented Nov 12, 2021

Hi @timonaldenhoff

Thank you for your message.
I am not sure what exactly your problem is.
Is your RefreshIndicator above the ReorderableWrap and is not showing up?
Or do you have children that have a RefreshIndicator?

Maybe it would be easier to understand your problem with some example code.

@timonaldenhoff
Copy link
Author

timonaldenhoff commented Nov 12, 2021 via email

@karvulf
Copy link
Owner

karvulf commented Nov 12, 2021

Ah Ok, now I understand!
I'll check it out tomorrow @timonaldenhoff

@karvulf karvulf added the bug Something isn't working label Nov 13, 2021
@karvulf karvulf linked a pull request Nov 13, 2021 that will close this issue
@karvulf
Copy link
Owner

karvulf commented Nov 13, 2021

I found your issue and fixed it.
If you use version 1.0.2, it should work also with GridView. Be sure to use Clip.none for clipBehavior when you scroll because otherwise the displayed content in iOS will be clipped when you scroll with a few items @timonaldenhoff

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