PuiSegmentedControl
PuiSegmentedControl copied to clipboard
It's not working fine when .isEqualWidth = false.
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.