Page 1 of 9 123 ... LastLast
Results 1 to 10 of 82

Thread: [REOPENED][3.??] Form disappears when clicking the Biography tab

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    751
    Vote Rating
    0
      0  

    Default [REOPENED][3.??] Form disappears when clicking the Biography tab

    Go to examples/form/dynamic.html and scroll all the way down. Click on the Biography tab. The entire form disappears under IE 6 and comes back. This was not happening with Ext 3.0.3. Not sure how far back this has been happening with the recent SVN releases.
    Attached Images Attached Images

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,874
    Vote Rating
    82
      0  

    Default

    Try

    Code:
    Ext.override(Ext.Container, {
        canLayout: function() {
            var el = this.getLayoutTarget();
            return !!(el && el.dom && (el.dom.offsetWidth || el.dom.offsetHeight));
        }
    });

  3. #3
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488
    Vote Rating
    147
      0  

    Default

    Confirmed that this issue is in the current build.
    Aaron Conran
    @aconran

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    Quote Originally Posted by Animal View Post
    Try

    Code:
    Ext.override(Ext.Container, {
        canLayout: function() {
            var el = this.getLayoutTarget();
            return !!(el && el.dom && (el.dom.offsetWidth || el.dom.offsetHeight));
        }
    });
    No effect.

  5. #5
    Sencha User
    Join Date
    Jun 2009
    Posts
    751
    Vote Rating
    0
      0  

    Default

    Same here too. No effect.

  6. #6
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,874
    Vote Rating
    82
      0  

    Default

    This should be fixed now... I was tired when I posted that (I'd been staring at code for too long). The correct way to test for dimensions being present is to test for offsetHeight or offsetWidth.

  7. #7
    Sencha User
    Join Date
    Jun 2009
    Posts
    751
    Vote Rating
    0
      0  

    Default

    This is working now with SVN 5758. Thanks.

  8. #8
    Sencha User
    Join Date
    Jun 2009
    Posts
    751
    Vote Rating
    0
      0  

    Default

    Please mark this thread as open.

    Use the test-case-2b tool under IE 6. Click on "Add 1 Form" under "Card Two". Notice how the entire layout disappears and reappears. I even configured deferredRender to false in resources/form-configs.js as suggested in the SVN 5758 change. This wasn't required previously and it worked some time back.

    Attached is test-case-2b.zip. Change ext to point to your ext in header (5 places).
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by meroy; 9 Dec 2009 at 10:23 AM. Reason: Added image.

  9. #9
    Sencha User
    Join Date
    Jun 2009
    Posts
    751
    Vote Rating
    0
      0  

    Default

    This is what happens when clicking on the button "Add 5 Forms" under "Card 2". In this case some parts of the layout remains. This is ugly. deferredRender is false here and using SVN 5760 under IE 6.

    Remember to click on the Biography tab during testing when applying a fix for this.
    Attached Images Attached Images

  10. #10
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,874
    Vote Rating
    82
      0  

    Default

    I can't get it to fail on IE8 in any mode IE7/IE8, quirks or standards.

Page 1 of 9 123 ... LastLast

Posting Permissions

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