Closed w497763094 closed 4 years ago
Hello. Do you have any errors in logs? Also what device are you using? So I could test this case more property
Also I'm curious, what kind of effect are you trying to achieve? Case here that this plugin uses simple CustomScrollView, so quite possible that flutter works like it works 🤷♂️
I want to add refresh at the head of the list, and add more at the bottom, but when the list data is low, if the height of the data does not exceed the height of the screen, it cannot respond to the sliding event. I added a rebound effect to the list and it didn't work (BouncingScrollPhysics ())
You can run the code and you will find that the list cannot be scrolled. I set physics: BouncingScrollPhysics (), but it has no effect
have you tried to do the same but with the regular scrollable widget?
I'm asking because it seems that an issue, which you described, is quite similar to this issue https://github.com/flutter/flutter/issues/25566
Which means that you can solve it by using AlwaysScrollableScrollPhysics like
physics: AlwaysScrollableScrollPhysics(
parent: BouncingScrollPhysics()
),
You are right, I tried it and it works, thank you very much
I can assume an issue can be closed in that case?)
Of course, you can close this issue。 Thanks again!
np)
I add BouncingScrollPhysics() ,but Can't slide when the list is not high enough. Example: InfiniteList( /// Scroll controller.
Optional
controller: ScrollController(),