You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext User
    Join Date
    Jul 2010
    Posts
    1
    Vote Rating
    0
    podman is on a distinguished road

      0  

    Default [CLOSED] Ext.Carousel crashes safari consistently with many items on the iPad

    [CLOSED] Ext.Carousel crashes safari consistently with many items on the iPad


    I'm trying to load up a carousel with a lot of images but it seems to crash every time I swipe for a while. This is replicable with a very simple example:

    Code:
    Ext.setup({
        onReady: function() {
            var carousel = new Ext.Carousel({
                indicator: false,
                items: [
                    {html: '<div style="width:100%;height:600px"><h1>TEST</h1></div>'},	
                    {html: '<div style="width:100%;height:600px"><h1>TEST</h1></div>'}
                   /* repeat this a couple hundred times */
                ]
            });
    			
    	new Ext.Panel({
    	    fullscreen: true,
    	    items: [carousel]
            });
    });
    If I swipe to the next item over and over again fairly quickly, safari will eventually crash. This doesn't happen on the iPhone or in the xCode iPad simulator only on the iPad itself.

    I recorded some video of this code crashing first the OS:
    http://sproutvideo.com/videos/1c98d2bb1f1ce3ce94

    and then mobile safari:
    http://sproutvideo.com/videos/4898d2bb1f1ce4c0c0

    Anyone have any ideas as to what might be causing this or what I can do to fix it?
    -->

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The new carousel in 0.93 was specifically redesigned to allow better dynamic addition and removal from the carousel. Currently it's up to developer to balance how many items to keep in memory at once. We expect to add some ability to automatically add and remove in some fashion in the future.
    -->

  3. #3
    Ext User
    Join Date
    Jul 2010
    Location
    Calgary, Alberta
    Posts
    186
    Vote Rating
    1
    nosarious is on a distinguished road

      0  

    Default


    I've noticed a significant pause when going through cards on the carousel. I only have five, but they have text laid out in specific boxes, and images that change the background when clicked.

    Five is sbout the maximum I would like to have 'read' in memory and use at any time (preparing the layout of the card just two away from the one being viewed) is there a sample of how I should be doing this somewhere?

    (I am using a second generation ipod touch. the system as it stands works well on an ipad and iphone)
    -->

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The carousel is getting a few more tweaks in the next release and the ShopStyle app uses it extensively. If you start a new thread with a complete test case we can take a look at the issue. Please be sure to include the iOS version when dealing with the 2nd gen touch as iOS4 has been a disaster on that hardware.
    -->

Similar Threads

  1. Safari Freezes/Crashes
    By onkionline in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 1 Dec 2009, 9:07 PM
  2. ext-all.css crashes Safari
    By evanc in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 19 Dec 2007, 10:57 AM

Thread Participants: 2

Tags for this Thread

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