Loading ...
Sorry, an error occurred while loading the content.

IE6 + yui editor + modal dialog = very slow

Expand Messages
  • Steven Hartland
    Came across this on while adding new features to one of our sites. If you have a yui rich text editor in the page and then try to load a modal dialog the
    Message 1 of 2 , Mar 31, 2009
    • 0 Attachment
      Came across this on while adding new features to one of our sites.
      If you have a yui rich text editor in the page and then try to load
      a modal dialog the browser will stall for several second both
      on display and on hide.

      Digging around this is down to a native call to get the bodies
      dimensions ( document.body.clientWidth ).

      After further investigation the display of the editors hidden panel
      is the element causing this delay in the native call.

      Currently we're using the workaround to make said panel display
      none as this prevents the slowness but wanted to see if any one
      has seen this before or knows a reason why?

      Workaround:
      document.getElementById( oEditor.get('id') + oEditor.EDITOR_PANEL_ID ).style.display = 'none';

      ================================================
      This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

      In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
      or return the E.mail to postmaster@....
    • Dav Glass
      I haven t seen this before, please file a bug for it with a valid repro case and I will look into it.. Dav -- Dav Glass davglass@gmail.com blog.davglass.com +
      Message 2 of 2 , Mar 31, 2009
      • 0 Attachment
        I haven't seen this before, please file a bug for it with a valid
        repro case and I will look into it..

        Dav

        --
        Dav Glass
        davglass@...
        blog.davglass.com


        + Windows: n. - The most successful computer virus, ever. +
        + A computer without a Microsoft operating system is like a dog
        without bricks tied to its head +
        + A Microsoft Certified Systems Engineer is to computing what a
        McDonalds Certified Food Specialist is to fine cuisine +



        On Tue, Mar 31, 2009 at 5:39 AM, Steven Hartland
        <killing@...> wrote:
        > Came across this on while adding new features to one of our sites.
        > If you have a yui rich text editor in the page and then try to load
        > a modal dialog the browser will stall for several second both
        > on display and on hide.
        >
        > Digging around this is down to a native call to get the bodies
        > dimensions ( document.body.clientWidth ).
        >
        > After further investigation the display of the editors hidden panel
        > is the element causing this delay in the native call.
        >
        > Currently we're using the workaround to make said panel display
        > none as this prevents the slowness but wanted to see if any one
        > has seen this before or knows a reason why?
        >
        > Workaround:
        > document.getElementById( oEditor.get('id') + oEditor.EDITOR_PANEL_ID
        > ).style.display = 'none';
        >
        > ================================================
        > This e.mail is private and confidential between Multiplay (UK) Ltd. and the
        > person or entity to whom it is addressed. In the event of misdirection, the
        > recipient is prohibited from using, copying, printing or otherwise
        > disseminating it or any information contained in it.
        >
        > In the event of misdirection, illegible or incomplete transmission please
        > telephone +44 845 868 1337
        > or return the E.mail to postmaster@....
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.