Results 1 to 2 of 2

Thread: 6.5.3 nightly regression - setActiveItem can't accept a component configuration

    You found a bug! We've classified it as EXTJS-26579 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,021
    Vote Rating
    951
      0  

    Default 6.5.3 nightly regression - setActiveItem can't accept a component configuration

    Affects modern.

    Test case:

    Code:
    Ext.onReady(function() {
        var ct = new Ext.Container({
            renderTo: document.body,
            width: 200,
            height: 200,
            layout: 'card',
            items: [{
                html: 'Card 1'
            }]
        });
    
        setTimeout(() => {
            ct.setActiveItem({
                html: 'New Card'
            });
        }, 2000);
    });
    Steps to reproduce:
    Observe the layout

    Expected behaviour:
    The newly added component should be visible as the active item.

    Actual behaviour:
    The new item is not added to the container and the active item disappears.

    Compare the behaviour between 6.5.2 and nightly 6.5.3 from 20171129, this is a newly introduced regression.
    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.

  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,565
    Vote Rating
    81
      0  

    Default

    Thanks, Evan. I linked this to the original bug report.
    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

Similar Threads

  1. Replies: 4
    Last Post: 18 Mar 2015, 2:24 PM
  2. [FIXED] regression checkboxmodel not clickable with latest nightly build
    By SebTardif in forum Ext 5: Bugs
    Replies: 1
    Last Post: 24 Nov 2014, 8:43 AM
  3. Replies: 4
    Last Post: 24 Nov 2014, 5:01 AM
  4. Replies: 1
    Last Post: 12 Nov 2014, 9:46 AM

Posting Permissions

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