1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    4
    Vote Rating
    0
    nvaguilar05 is on a distinguished road

      0  

    Default Unanswered: Prevent Carousel drag while a Modal Picker is displayed

    Unanswered: Prevent Carousel drag while a Modal Picker is displayed


    Hello,

    I'm trying to find a way to disable an item (or prevent a user from swiping/drag) in a carousel when a Picker is being displayed. Here is the scenario:

    I have a carousel with two items/views. When a user is in the first view (item 1) they have to select some values from a Picker class with 3 slots. But when the picker pops up the user is still able to swipe into the next view in the carousel (item 2) . But since the picker is supposed to be modal, they shouldn't be able to swipe into the next view in the carousel until the picker goes away. Is there a way to prevent this.

    Thanks.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      1  

    Default


    One quick way is to suspendEvents on the carousel when that picker is displayed and resumeEvents when the picker is hidden.. If it's truly modal, no events should be propagated down to the carousel.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi