PuiSegmentedControl icon indicating copy to clipboard operation
PuiSegmentedControl copied to clipboard

It's not working fine when .isEqualWidth = false.

Open TheNasirKhan opened this issue 3 years ago • 0 comments

We have some 4 tabs with unequal texts so we configured .isEqualWidth = false, but it creates multiple issues. on tapping the first time it switches the tab but afterward, it's unresponsive and doesn't switch the tabs even on scroll.

I have diagnosed the issue is in viewTappedSegmentChange method in PuiSegmentedControl. In the animation completion block, there is a condition on "finished", that is coming false and so, the rest of the code doesn't run.

TheNasirKhan avatar Mar 03 '22 06:03 TheNasirKhan