MayLau-CbL/flutter_horizontal_data_table

[Question]Set "BouncingScrollPhysics" to "scrollPhysics".

Yuki-Ut opened this issue · 4 comments

Describe the Problem
Please tell me about the setting of "scrollPhysics".
"BouncingScrollPhysics" is set in "scrollPhysics".
However, when scrolling the line, the positions of "leftSideItemBuilder" and "rightSideItemBuilder" are misaligned.
"RightSideItemBuilder" returns to its initial position while scrolling "leftSideItemBuilder".
Is there a way to link "leftSideItemBuilder" and "rightSideItemBuilder"?

[1.Initial position]
No01

[2.Scrolling]
No02

[3.Stop scrolling]
No03

Would you mind showing ur horizontal table widget config set up or if possible a small example project?

I have created a zip file for my project.
I edited and created the sample code of "pub.dev".
"scrollPhysics" is set on line 90 of "main.dart".
table_test_application.zip

i understand your problem, when you pulling to scroll and holding for a few second, the left and right is not sync to the same position which is a known issue. this is hard to solve at the moment, at least still not have a good idea on this for each types of physics, let me explain the problem. This horizontal table is based on 2 listview and synchronise each other by listening each scroll notification. The notification itself will not notify every offset moved that cause the motion not that sync. And the bounce physics extend drawn will not reflect on the offset returned after holding for a few second but on its physics extends viewport, that is why you see the left side is on the top.

no further comment, close this first