FreeFlow icon indicating copy to clipboard operation
FreeFlow copied to clipboard

Scrolling issue

Open jerrellmardis opened this issue 10 years ago • 8 comments

I noticed that if you start scrolling slowly up or down for a bit the container will start to scroll slightly in the other direction thus causing a jerky scrolling experience. It seems like this is occurring when Views are inflated or being loaded into the container. I'm able to reproduce the issue in the sample Artbook app as well. I'll try to get a video of the issue.

jerrellmardis avatar Mar 24 '14 04:03 jerrellmardis

Here's a video of the issue I described above. The video is not as smooth as I would like but you can definitely see the issue at roughly the 16 and 27 second marks.

Video: https://dl.dropboxusercontent.com/u/93908706/free_flow_scrolling.mp4

jerrellmardis avatar Mar 24 '14 04:03 jerrellmardis

I think I find the same issue on my samsung mobile too. This problem happens both in the two demos, Artbook and FreeflowPhotoGrid .Though I can't find the reason yet. Hope you guys who are good at this wonderful UI layout ,can fix this problem .Thanks .

xuelvming avatar Jun 07 '14 10:06 xuelvming

Same issue on my Nexus 5 and very rarely scrolling doesn't work at all and misses my touch gesture completely.

mongle avatar Jun 21 '14 18:06 mongle

I find that,this is scrolling issue will occur when we change the layout for the freeflow .It is initial ok when we first launch the demo .

xuelvming avatar Jul 10 '14 09:07 xuelvming

+1

jjhesk avatar Mar 16 '15 15:03 jjhesk

+1

zhumingu avatar Mar 20 '15 06:03 zhumingu

I will suggest to start looking at the code in the freeflowcontainer.java @jerrellmardis @zhumingu, @mongle

/**
     * Computes the Rectangle that defines the ViewPort. The Container tries to
     * keep the view at the top left of the old layout visible in the new
     * layout.
     *
     * @see getViewportTop
     * @see getViewportLeft
     */
    protected void computeViewPort(FreeFlowLayout newLayout) {

@Arpit Mathur can you take a look?

jjhesk avatar Apr 02 '15 04:04 jjhesk

Meet the same issue, any update?

yorkwang avatar Jun 01 '15 09:06 yorkwang