I have a simple TabView with two tabs, each with one button in it, the touch event on the button shows some strange behaviour.
If I simply output the TabView directly all events work:
<GridLayout rows="*">
<TabView row="0">
<StackLayout *tabItem="{title: 'Tab 1'}">
<button background="red" (tap)="alert('Hello 1')"></button>
</StackLayout>
<StackLayout *tabItem="{title: 'Tab 2'}">
<button background="red" (tap)="alert('Hello 2')"></button>
</StackLayout>
</TabView>
</GridLayout>
Now when I show the TabView conditionally after the app fetches some data, I get some unexpected behaviour:
<TabView *ngIf="VarSetAfterServerResponse">
....
The Tap event of the first button will only trigger once or twice, the last button will keep on working.
This is a simplified example. I am getting this throughout all tabs with more complicated content in it, none of the event listeners that are set from within the HTML work. EventListeners attached from TypeScript are not reliable as well, tried to set theses inside all the Angular LifeCycleEvents.
This is only a problem on iOS.