nativescript-cardview icon indicating copy to clipboard operation
nativescript-cardview copied to clipboard

Tap event stops working after orientation change or navigation

Open wumbo opened this issue 6 years ago • 1 comments

<CardView (tap)="onTap(x)"></CardView>

Tapping on the card view works the first time, but certain events (e.g. rotating the screen on iOS or navigating to a new view and back on Android) cause it to stop responding.

On Android the ripple effect still works but the callback is not called.

wumbo avatar Jun 18 '19 01:06 wumbo

Hi wumbo, I had the same problem. Typescript code doesn't work. But nativescript core code is working.

export function onTap1() { var topmost = frameModule.topmost(); var navigationOptions = { moduleName: 'pages/appointment/appointment-page', animated: true } topmost.navigate(navigationOptions); };

sinandogan avatar Aug 05 '19 14:08 sinandogan