When the button pressed and @State tabViewIsHidden was changed, the iPage will scroll to the same page with animation:
Demo:
I wonder if it is possible to prevent this? This is needed for making my custom tab view control, I was making an auto dismissed tab view control, but when I change the state, this unwanted animation was triggered.
Hi there, thanks for the quick fix yesterday now it works like charm!
Just encounter another issue, when I change the state of iPage parents view, iPage will trigger an unwanted animation.
Example code:
When the button pressed and @State tabViewIsHidden was changed, the iPage will scroll to the same page with animation:
Demo:
I wonder if it is possible to prevent this? This is needed for making my custom tab view control, I was making an auto dismissed tab view control, but when I change the state, this unwanted animation was triggered.