The problem occures when you lock the pivot during the transition (in my case I lock pivot during the pinch event, and pinch can start before pivot transitioning animation is over). I suspect originalX is captured incorrectly while pivot transition animation is in progress and that makes LockablePivot to restore pivots items so that headers overlap each other.
Workaround: in the LockablePivot.cs comment out all the code taht deals with originalX.
In fact, in my case I don't even need any animation since I just need to avoid pinching resulting in an acidental pivot switching. So I commented out FadeOutHeaders() and FadeInHeaders completely. Would've been nice if there was a boolean property on the pivot to enable/disable the fade in/out animation.
Comments: ** Comment from web user: BorisT **
Workaround: in the LockablePivot.cs comment out all the code taht deals with originalX.
In fact, in my case I don't even need any animation since I just need to avoid pinching resulting in an acidental pivot switching. So I commented out FadeOutHeaders() and FadeInHeaders completely. Would've been nice if there was a boolean property on the pivot to enable/disable the fade in/out animation.
Comments: ** Comment from web user: BorisT **
i'll second this.
Bad error :/