Results 1 to 3 of 3

Thread: No such config "component" for class Ext.scroll.Scroller

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User VDP's Avatar
    Join Date
    Feb 2012
    Location
    Niel, Belgium
    Posts
    101

    Default No such config "component" for class Ext.scroll.Scroller

    Version:

    • Ext 6.5.3.57


    Description:

    I get this error: No such config "component" for class Ext.scroll.Scroller

    It's caused by Ext.viewport.Default (http://docs.sencha.com/extjs/6.5.3/m...s.html#line239 )

    Code:
    Ext.setViewportScroller(me.getScrollable() || Ext.getViewportScroller().setConfig({
        x: false,
        y: false,
        component: me //invalid property!
    }));
    Ext.scroll.Scroller has no config called component

    so this part is throwing an error:
    (instance is the instance of the Ext.scroll.Scroller coming from the Ext.getViewPortScroller() above)
    Code:
        prop = instance.self.prototype[name];
        if (strict) {
            if ((typeof prop === 'function') && !prop.$nullFn) {
                
                Ext.Error.raise("Cannot override method " + name + " on " + instance.$className + " instance.");
                
                
                continue;
            } else 
            {
                if (name !== 'type') {
                    Ext.log.warn('No such config "' + name + '" for class ' + instance.$className);
                }
            }
        }
    Seems like I'm not the first that bumps into this... Although in a different section..
    https://www.sencha.com/forum/showthr...croll-Scroller

  2. #2
    Touch Premium Member
    Join Date
    Sep 2011
    Posts
    99

    Default

    This is still a bug in 6.6.0 in the Ext.define for Ext.viewport.Default.

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    568

    Default

    Hello,

    This issue has been fixed under reference Jira EXTJS-27226, we have verified with the 6.7 version of EXTJS and it is working fine, I request you to try with the latest nightly build for resolution.

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. Replies: 4
    Last Post: 18 Apr 2018, 4:25 AM
  2. Replies: 1
    Last Post: 15 Jun 2015, 7:14 AM
  3. Replies: 2
    Last Post: 22 Sep 2011, 5:38 AM

Tags for this Thread

Posting Permissions

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