Results 1 to 3 of 3

Thread: [INFOREQ] setScrollable(false) error on Carousel

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default [INFOREQ] setScrollable(false) error on Carousel

    I was trying to add a feature to an app to "lock" a Carousel and noticed in the API docs that there is a setScrollable() function so I attempted it with "false" and got this error:

    Uncaught TypeError: Cannot call method 'destroy' of undefined on line 12889
    The Carousel has 25 cards in it and direction: "vertical". Shouldn't matter but fyi.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Please post a short test case. I just ran the following with the latest Git build with no issue:

    Code:
    Ext.setup({    
        onReady: function() {
            var c = new Ext.Carousel({
                fullscreen: true,
                items: [{
                    html: 'Foo'
                }]
            });
            c.setScrollable(false);
        }
    });
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Just tried your code using the 0.93 beta and it gives me the same error as my OP.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Similar Threads

  1. [INFOREQ]GroupingGrid error
    By Sesshomurai in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 30 May 2010, 8:05 PM
  2. Replies: 1
    Last Post: 2 Apr 2010, 9:28 PM
  3. [INFOREQ] Grouping error when only one record
    By frrogoy in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 2 Apr 2010, 6:23 AM
  4. [INFOREQ]FireFox 3.6b1 Error on Mac 10.6.1
    By jkirby in forum Ext 3.x: Bugs
    Replies: 7
    Last Post: 13 Nov 2009, 5:10 AM
  5. Replies: 6
    Last Post: 14 Oct 2009, 9:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •