1. #1
    Sencha Developer
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    482
    Vote Rating
    1
    Wolfgang is on a distinguished road

      0  

    Default [a2-rev6] Borderlayout: Unwanted Scroller when using iframe

    [a2-rev6] Borderlayout: Unwanted Scroller when using iframe


    When using Borderlayout with a Contentpanel in "center" that targets an iframe, that iframe shows scroller (horz/vert) until one opens a 2nd panel in the "center" region. (Given that the scroller would not be necessary). Also, when the 2nd panel is destroyed afterwards, the scrollers are gone in the panel that holds the iframe.

    This happens only in FF2 and not in IE7.

    If however, autoScroll is not set, then this does not happen (in both browser types).
    Code:
                    center: {
                        titlebar: true,
                        autoScroll:true // must not be set when iframes are used with FF
                    }
    I think this is a bug.

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    When using an iframe, use autoScroll:false on the Region, and fitToFrame:true on the ContentPanel which houses the iframe.

  3. #3
    Sencha Developer
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    482
    Vote Rating
    1
    Wolfgang is on a distinguished road

      0  

    Default


    Thank you.

Similar Threads

  1. BorderLayout + IFrame = Not Scrolling
    By agarcia in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 7 Jun 2007, 4:08 PM
  2. How do you handle unwanted chars in strings in your JSON app
    By Joche in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 21 Mar 2007, 9:49 AM
  3. [a2-rev6] Borderlayout: South in IE7 but not in FF2
    By Wolfgang in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2007, 9:56 PM
  4. Bug in BorderLayout spliter with iframe
    By michael in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 29 Jan 2007, 3:39 AM
  5. BorderLayout in iframe
    By sycophant in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 11 Dec 2006, 7:57 PM

Thread Participants: 1