[CLOSED] MultiCombo collapses on a CheckBox click in IE8.

  1. #1

    [CLOSED] MultiCombo collapses on a CheckBox click in IE8.

    Hi guys,

    I have got a MultiCombo in a modal Window. The problem is that after a single click MultiCombo collapses automatically. The problem is reproduced only for IE8 (IE9 in IE8 mode doesn't reproduce it). The problem isn't also reproduced if MultiCombo is not in a modal Window. Could you please offer a way to prevent MultiCombo from collapsing? I think the topic http://forums.ext.net/showthread.php...93781&posted=1 is related to this problem. Here is an example of the code:

    <ext:Button runat="server" Text="Test window" >
            <Listeners>
                <Click Handler="#{TestWin}.show();" />
            </Listeners>
        </ext:Button>
        <ext:Window runat="server" ID="TestWin" Modal="true" Hidden="true">
            <Items>
                <ext:MultiCombo runat="server">
                    <Items>
                        <ext:ListItem Value="1" Text="item 1" />
                        <ext:ListItem Value="2" Text="item 2" />
                        <ext:ListItem Value="3" Text="item 3" />
                        <ext:ListItem Value="4" Text="item 4" />
                    </Items>
                </ext:MultiCombo>
            </Items>
        </ext:Window>
    Last edited by Daniil; Feb 18, 2013 at 9:40 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please clarify what the Ext.NET sources are you testing with?
  3. #3
    Hi,
    Revision 4380 of the branches/2.1
  4. #4
    We were able to reproduce and are investigating a possible solution.
    Last edited by Daniil; Feb 18, 2013 at 3:52 AM.
  5. #5
    Please try the following overriding.

    Fix
    Ext.net.MultiCombo.override({
        mimicBlur: function(e) {
            var me = this,
                picker = me.picker,
                t = Ext.fly(e.getTarget());
    
            if (!picker ||
                !(t.hasCls("x-boundlist") 
                    || t.hasCls("x-boundlist-item")
                    || t.hasCls("x-combo-list-item")
                    || t.hasCls("x-mcombo-text")
                    || me.isEventWithinPickerLoadMask(e))) {
    
                me.callParent(arguments);
            }
        }
    });
  6. #6
    This fix works fine. Thank you.

Similar Threads

  1. [CLOSED] DropDownField collapses on CheckBox click.
    By Leonid_Veriga in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 24, 2012, 7:14 PM
  2. Why can not I control FieldSet collapses?
    By billy in forum 2.x Help
    Replies: 4
    Last Post: Oct 07, 2012, 3:15 PM
  3. Filter on GridPanel collapses the Dropdownfield
    By huzzy143 in forum 1.x Help
    Replies: 0
    Last Post: Apr 10, 2012, 5:00 PM
  4. [CLOSED] Click Disable MultiCombo
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 21, 2010, 11:59 AM
  5. Replies: 1
    Last Post: Aug 13, 2009, 9:37 AM

Posting Permissions