Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Extreme slowness when rendering a TextArea with a very large text in RTL

    Hello SmartClient,

    We have noticed some extreme slowness when rendering a very large text into a TextArea field in RTL.
    The strange thing is that in LTR it works quickly enough.

    I was able to reproduce the problem on your showcase site - the example below demonstrates it.
    I could not post here a large-enough sampel to show the problem, but if you replace the value with a ~1MB text you should see it.
    If you drop the first line (document.body.dir='rtl'), then the form will render in 1-2 seconds, but with rtl it takes ~30 seconds.

    Code:
    document.body.dir='rtl'
    isc.DynamicForm.create({
        ID: "form1",
        fields: [
            {type:"textArea", width: "800",height: "600", value: "paste a 1MB long text here"
    },
        ]
    });
    I hope you can look into that.

    Regards
    Gil
Working...
X