1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    London
    Posts
    16
    Vote Rating
    1
    trkaky is on a distinguished road

      0  

    Default Unanswered: Scrollable area in carousel prevents navigating to next page

    Unanswered: Scrollable area in carousel prevents navigating to next page


    Hi,

    I have a scrollable image within a carousel page, considering their scroll directions are same both vertical or both horizontal, I cant swipe to next carousel page and navigate through the image at same time.

    If I set directionLock true, then it will overwrite carousel touch events and scroll through the image but will not give the chance to swipe to next carousel page. If I set directionLock false, then it will swipe to next carousel page but not scroll through the image.

    Been working on this for long, searched over internet and Sencha forum but Im not getting anywhere.
    Also tried to set directionLock true/false dynamically by listening scrollend event and detecting where the end of scrollable area is reached, then set the directionLock false but then ended up with scrolling issue again when I start scrolling to the other direction, it just navigates to previous carousel page instead of scrolling backwards to the start of image.

    Here is the sample code, would be much appreciated if anyone can provide a solution.
    many thanks.

    Code:
    Ext.Viewport.add(Ext.create('Ext.Carousel', {
        direction: 'horizontal',
        indicator: false,
        items: [
            {
                html : 'Item 1',
                style: 'background-color: #759E60'
            },
            {
                xtype: 'panel',
                scrollable: {direction: 'horizontal', directionLock: true},
                items:[{
                    xtype: 'image',
                    src: 'http://images2.layoutsparks.com/1/235919/walle-galaxy-sky-image.jpg',
                    width: 2560,
                    height: 1600
                }]
            },
            {
                html : 'Item 3'
            }
        ]
    }));

  2. #2
    Sencha User
    Join Date
    Aug 2011
    Location
    London
    Posts
    16
    Vote Rating
    1
    trkaky is on a distinguished road

      0  

    Default


    any thoughts?

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