sencha-SlideNavigation
sencha-SlideNavigation copied to clipboard
screen is draggable even though slideSelector : false
I have the slideNavigation set up, i've set slideSelector to false and i've tried setting it to other elements. What happens is everything is still draggable. Are there any other settings that need would be needed to make only the titlebar (in a navigationview) draggable?
I cannot reproduce this. What browser and OS are you experiencing this under?
I will post the code for what im using up shortly
Here is the smallest bit of code I could use to replicate the issue:
https://www.dropbox.com/s/ek5ugmzdlce79pq/Project.zip
I tested this on IOS 6.0, also on Chrome 25.0.1364.99 and Safari 6.02. If I drag anywhere the list will still slide out. While this is unintentionally nice one menu item I use for google maps gets disrupted.
Did you manage to see what was causing it? Sorry for the large file size it looks like I included the touch 2 sdk in it
Hey, I have the same problem here.
slideSelector: false
don't have any effect. The whole "screen" is draggable. I'm using SlideNavigation in combination with a horizontal carousel so the draggable screen is a bit annoying. ;)
Any idea?
To completely disable the dragging, you need to set containerSlideDelay less than zero or don't set it at all, as -1 is the default value. However, this also keeps the toolbar from being draggable.
Hey moderndegree,
seting containerSlideDelay to -1 did it!
Thank you very much!
Is it possible to make only one item on the slidenavigation view like this? I like that you can slide anywhwere, but like your carousel I have a problem with the map & sliding switch radios.
If I drag on either of these the slidenavigationview pops up
"To completely disable the dragging, you need to set containerSlideDelay less than zero or don't set it at all, as -1 is the default value. However, this also keeps the toolbar from being draggable."
It seems that setting containerSlideDelay to "-1" in the config object keeps the toolbar draggable, but prevents the rest of the container from being draggable.
c0bra is correct. I was having cache issues.
Thanks, man
Tarangp, currently no. For views that like you should probably disable dragging and employ a slideButton.
Can I disable dragging in some views, but not at all? I have views that slideButton is false and i don't want the container to be draggable.
Thank you very much!