astuetz / PagerSlidingTabStrip

An interactive indicator to navigate between the different pages of a ViewPager
139 stars 44 forks source link

When orientation changes, scrolling between tabs is broken #125

Open vandus opened 9 years ago

vandus commented 9 years ago

I use FragmentPagerAdapter, PagerSlidingTabStrip and ViewPager for support library. When I change orientation and scroll to right or left, it scrolls only by some offset, but not fully to fit the next tab, even clicking on tabs does not work any more.

vandus commented 9 years ago

Alright, my bad :) I was using getActivity().getSupportFragmentManager() and I should be using just getChildFragmentManager() as I am switching between Fragments inside a Fragment