BifacialView icon indicating copy to clipboard operation
BifacialView copied to clipboard

Version 1.3.1 broke vertical scrolling

Open nicktmro opened this issue 6 years ago • 4 comments

I have a RecyclerView that lives inside a ViewPager. My recycler view is populated with a bunch of BifacialViews. Unfortunately, after the 1.3.1 update, I can no longer scroll vertically, unless I begin my touches from a view other than the bifacial view.

Interestingly, the horizontal swiping is not working correctly, either. The drag begins on the BifacialView but after a small amount of drag, the ViewPager intercepts the gesture and begins the pagination.

nicktmro avatar Oct 09 '17 22:10 nicktmro

Hi!. Use 1.3.2 version and ToucMode = delimiter

pavel163 avatar Oct 11 '17 05:10 pavel163

Thanks for the quick reply. I tried and it still doesn't work. Here's more info:

If I:

  • touch the BifacialView and
  • swipe vertically and without lifting the finger I then
  • swipe horizontally I get the correct behaviour.

If I swipe horizontally on the BifacialView the divider travels a few pixels and then it jumps back to its original position and the ViewPager starts moving.

Hope this helps with diagnosing the problem.

nicktmro avatar Oct 11 '17 06:10 nicktmro

I added your case in example app. Is it right? Please show this example

pavel163 avatar Oct 12 '17 17:10 pavel163

Thanks for the follow up. The example you referenced runs fine. However, my setup is a bit more complex and the issue is still there.

I am now wondering if the issue is caused by the TabLayout or maybe the SwipeRefreshLayout that I have in my view hierarchy... Hopefully the attached screenshot can clarify my setup.

viewhierarchy

nicktmro avatar Oct 15 '17 03:10 nicktmro