geftimov/android-viewpager-transformers

Button on ViewPager Child layout not clickable when DrawerFromBackTransformation is applied

wanGiB opened this issue · 7 comments

Nice job on ViewPagerTransformers, I tried applying the DrawerFromBackTransformer to my viewpager and everything worked well,however I got a problem...I have a button in each of my viewpager layouts and they are not clickable when this transformation is applied to the viewpager.If I remove the transformation everything works fine.......What should I do? Thanks

I can not replicate it, sorry.

I too am experiencing this issue. However I see that the touch events are actually happening in the 1st page of the ViewPager, rather than in the correct page. This means that when I scroll in my 2nd page, the 1st page actually scrolls.

I'm too experiencing this issue. My viewpager has 5 fragments. Each fragment has a RecyclerView. If i click an item of fragment 1's recyclerview, fragment 2's recyclerview item is clicked. Is the issue resolved or is there a workaround?

@sebinpaul Does all of your fragments have solid background?

All the fragments have transparent background and it is a must have for my app.

That is unfortunately problem with fragments when they are added on top of each other.
You can try to make all of them clickable.
Hope it helps.

tried it with the clickable background, doesn't seem to do the trick for me :(