Coder Social home page Coder Social logo

Comments (6)

bradmartin avatar bradmartin commented on July 20, 2024

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 [email protected] 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
.

from nativescript-floatingactionbutton.

sitefinitysteve avatar sitefinitysteve commented on July 20, 2024

I'll put in an official ticket with them

from nativescript-floatingactionbutton.

felixkrautschuk avatar felixkrautschuk commented on July 20, 2024

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

from nativescript-floatingactionbutton.

AceTheFace avatar AceTheFace commented on July 20, 2024

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

from nativescript-floatingactionbutton.

dyazincahya avatar dyazincahya commented on July 20, 2024

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

from nativescript-floatingactionbutton.

 avatar commented on July 20, 2024

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.

from nativescript-floatingactionbutton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.