Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'hideOnSwipeOfView' does not work for RadListView #38

Closed
felixkrautschuk opened this issue Nov 8, 2016 · 6 comments
Closed

'hideOnSwipeOfView' does not work for RadListView #38

felixkrautschuk opened this issue Nov 8, 2016 · 6 comments

Comments

@felixkrautschuk
Copy link

Hi,

the FAB plugin works perfekt on a default ListView, but the hideOnSwipeOfView functionality seems not to work for a RadListView from Telerik UI for NativeScript ... or maybe I use it the wrong way?!
I thought putting an ID to the ListView and assigning this ID to the hideOnSwipeOfView property should be enough, it seems to be the right way for a usual ListView at least.

<lv:RadListView
        id="myListView"
     ... >
    <lv:RadListView.itemTemplate>
        ...
    </lv:RadListView.itemTemplate>
</lv:RadListView>
<FAB:fab
     hideOnSwipeOfView="myListView"
     ... 
/>

Best regards

@bradmartin
Copy link
Collaborator

It's an issue with RadListView. Could you open a bug about gestures not
working on that component. Sorry. I've been thru it and unfortunately
nothing I can do cause the code here checks out and works fine :(

On Tue, Nov 8, 2016, 4:34 AM seppel1992 notifications@github.com wrote:

Hi,

the FAB plugin works perfekt on a default ListView, but the
hideOnSwipeOfView functionality seems not to work for a RadListView from
Telerik UI for NativeScript ... or maybe I use it the wrong way?!
I thought putting an ID to the ListView and assigning this ID to the
hideOnSwipeOfView property should be enough, it seems to be the right way
for a usual ListView at least.

<lv:RadListView
id="myListView"
... >
lv:RadListView.itemTemplate
...
/lv:RadListView.itemTemplate
/lv:RadListView
<FAB:fab
hideOnSwipeOfView="myListView"
...
/>

Best regards


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#38,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhIGcwFgKXmyQqpeBDsQYmxKFsE6Dks5q8FAsgaJpZM4KsRPe
.

@sitefinitysteve
Copy link
Contributor

I'll put in an official ticket with them

@felixkrautschuk
Copy link
Author

Ok, I guessed it already :)
Thanks for your help!

@AceTheFace
Copy link

For me this is still an issue....do you have a link to the official ticket, please?

@dyazincahya
Copy link

It looks like i have the same problem in nativescript 3.2.1 hmm -_-

@ghost
Copy link

ghost commented Feb 7, 2018

RadListView doesn't support the pan event. I'm not sure why fab uses pan over scroll (or why radlistview doesn't support pan gesture), but for anyone looking for an immediate solution I wrote code to work with RadListView:

https://gist.github.com/mikolino/c66e48f43e132ababc6ec576d71b0e8b

It's basically a copy paste of FAB's hiding code + added variables to track scrolling, and the code goes with your other event handlers for the radlistview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants