sencha-SlideNavigation icon indicating copy to clipboard operation
sencha-SlideNavigation copied to clipboard

screen is draggable even though slideSelector : false

Open Tarang opened this issue 12 years ago • 12 comments
trafficstars

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?

Tarang avatar Feb 23 '13 09:02 Tarang

I cannot reproduce this. What browser and OS are you experiencing this under?

wnielson avatar Feb 23 '13 16:02 wnielson

I will post the code for what im using up shortly

Tarang avatar Feb 24 '13 10:02 Tarang

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.

Tarang avatar Feb 26 '13 15:02 Tarang

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

Tarang avatar Mar 02 '13 07:03 Tarang

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?

murscho avatar Mar 07 '13 15:03 murscho

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.

moderndegree avatar Mar 11 '13 14:03 moderndegree

Hey moderndegree,

seting containerSlideDelay to -1 did it!

Thank you very much!

murscho avatar Mar 12 '13 13:03 murscho

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

Tarang avatar Mar 12 '13 19:03 Tarang

"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 avatar Mar 12 '13 19:03 c0bra

c0bra is correct. I was having cache issues.

Thanks, man

moderndegree avatar Mar 13 '13 02:03 moderndegree

Tarangp, currently no. For views that like you should probably disable dragging and employ a slideButton.

wnielson avatar Mar 13 '13 15:03 wnielson

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!

haroula8 avatar Dec 29 '14 13:12 haroula8