Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    93
    Vote Rating
    0
    ExtKD is on a distinguished road

      0  

    Default [OPEN-875] deferredRender: false radio/checkbox wrong in IE7 and IE8 in tabbed form

    [OPEN-875] deferredRender: false radio/checkbox wrong in IE7 and IE8 in tabbed form


    n/a

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough 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 issue is that IE needs a manual repaint done after the component is visible (it was rendered in a hidden tab in this case). IE really doesn't handle rendering inside of hidden elements well. I'm not sure of a clean way to fix the issue ad of yet. What you can do for now is have IE repaint the wrap elements when it's tab is activated:

    Code:
        listeners: {
            activate: {
                fn: function() {
                    Ext.each(this.findByType('checkbox'), function(c) {
                        c.wrap.repaint();
                    });
                    Ext.each(this.findByType('radio'), function(c) {
                        c.wrap.repaint();
                    });
                }
            }
        }

  3. #3
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough 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


    You should be able to use findParentByType, also if you want a one time event (removes the listener automatically after the single invocation), use the option single: true.

Thread Participants: 1