NativeScript / NativeScript

⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
https://nativescript.org
MIT License
24.2k stars 1.64k forks source link

RadListView item #6438

Closed jokro closed 6 years ago

jokro commented 6 years ago
  1. I have a working example of Listview, with itemLongPress. When I convert ListView to RadListView, my onItemLongPress function is not called anymore. Is this a bug ?

  2. I found a workaround by adding a longPress action on a StackLayout inside the itemtemplate.

  3. This workaround stops functioning if I set swipeActions = true. see the example in playground I stripped the code until the bare minimum to show the problem. If swipeActions is set false, and a long press is being given, the longPress function is called, which shows in the console.log. If the longPress action is removed, the itemLongPress is never called, illustrating the above point 1.

How can I use longPress for items of a RadListView item ? I would like to use other gestures too, is this possible ? I only found how to use itemTap, which is working alright.

Thx

tsonevn commented 6 years ago

This issue was moved to telerik/nativescript-ui-feedback#888

NickIliev commented 6 years ago

@jokro please post the issue in the UI repository here. Closing this one as it is not related to Nativesdcript and NativeScript nodules

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.