Discussion:
IE8 - textarea scrolling when specifying a width style (with examp
(too old to reply)
Ross Davidson
2009-03-25 12:56:01 UTC
Permalink
There seems to be a bug with the way IE8 scrolls to the current cursor
position when you have a textarea which has COLS set and also a width set via
an inline style.

The following is an example, (this has been validated to XHTML Strict).

Adding the cursor at the end of the line beginning with "***", scrolling to
the bottom of the textarea and beginning to type causes the textarea to
scroll in several stages.

This seems to be a conflict between the width specified by the COLS and that
specified by the style. The scrolling seems to be based on the length of the
content if the content was wrapping at the width specified by the COLS.

A possibly related bug was reported and fixed relating to the position of
the scrollbar itself.
Ross Davidson
2009-03-25 13:10:03 UTC
Permalink
I cannot find how to edit the post, but I've missed two important details!

The example is at:

http://www.tagish.co.uk/textarea.html

And my screen resolution is 1280x1024, (I assume that if the screen
resolution is different, the difference between the COLS width and the style
width will caused different scrolling behaviour)
Post by Ross Davidson
There seems to be a bug with the way IE8 scrolls to the current cursor
position when you have a textarea which has COLS set and also a width set via
an inline style.
The following is an example, (this has been validated to XHTML Strict).
Adding the cursor at the end of the line beginning with "***", scrolling to
the bottom of the textarea and beginning to type causes the textarea to
scroll in several stages.
This seems to be a conflict between the width specified by the COLS and that
specified by the style. The scrolling seems to be based on the length of the
content if the content was wrapping at the width specified by the COLS.
A possibly related bug was reported and fixed relating to the position of
the scrollbar itself.
Ross Davidson
2009-04-01 14:52:02 UTC
Permalink
Am I the only one who has this problem?....
Post by Ross Davidson
I cannot find how to edit the post, but I've missed two important details!
http://www.tagish.co.uk/textarea.html
And my screen resolution is 1280x1024, (I assume that if the screen
resolution is different, the difference between the COLS width and the style
width will caused different scrolling behaviour)
Post by Ross Davidson
There seems to be a bug with the way IE8 scrolls to the current cursor
position when you have a textarea which has COLS set and also a width set via
an inline style.
The following is an example, (this has been validated to XHTML Strict).
Adding the cursor at the end of the line beginning with "***", scrolling to
the bottom of the textarea and beginning to type causes the textarea to
scroll in several stages.
This seems to be a conflict between the width specified by the COLS and that
specified by the style. The scrolling seems to be based on the length of the
content if the content was wrapping at the width specified by the COLS.
A possibly related bug was reported and fixed relating to the position of
the scrollbar itself.
Julien
2009-04-22 12:42:11 UTC
Permalink
No you are not the only one. Also have the same pb while answering on
WikiMedia (wikipedia) form
Ross Davidson
2009-09-22 09:14:02 UTC
Permalink
Discovered a workaround for this by simply setting the COLS value to a very
large number, e.g.

<textarea style=""width: 100%"" rows=""50"" cols=""5000""></textarea>

This seems to prevent the IE engine from calculating the scroll position
based on the wrapping of text.
Post by Ross Davidson
Am I the only one who has this problem?....
Post by Ross Davidson
I cannot find how to edit the post, but I've missed two important details!
http://www.tagish.co.uk/textarea.html
And my screen resolution is 1280x1024, (I assume that if the screen
resolution is different, the difference between the COLS width and the style
width will caused different scrolling behaviour)
Post by Ross Davidson
There seems to be a bug with the way IE8 scrolls to the current cursor
position when you have a textarea which has COLS set and also a width set via
an inline style.
The following is an example, (this has been validated to XHTML Strict).
Adding the cursor at the end of the line beginning with "***", scrolling to
the bottom of the textarea and beginning to type causes the textarea to
scroll in several stages.
This seems to be a conflict between the width specified by the COLS and that
specified by the style. The scrolling seems to be based on the length of the
content if the content was wrapping at the width specified by the COLS.
A possibly related bug was reported and fixed relating to the position of
the scrollbar itself.
madman
2009-07-15 16:36:03 UTC
Permalink
Please fix it!

It's described also here:

http://grantovich.net/2009/06/30/that-weird-ie8-textarea-bug/
Skuggan
2009-07-26 14:24:00 UTC
Permalink
I'm getting this bug too, and so thousands of others.

I'm looking forward to a solution for this from Microsoft, it's been some
time now since first report and the bug is still there.
Wieger
2009-11-08 13:16:01 UTC
Permalink
Yes. It needs to be fixed. Why is this taking so long? Is it ever going to be
fixed?
Post by Skuggan
I'm getting this bug too, and so thousands of others.
I'm looking forward to a solution for this from Microsoft, it's been some
time now since first report and the bug is still there.
rob^_^
2009-11-10 22:17:42 UTC
Permalink
Hi,

Search connect.microsoft.com for the documented workaround/fix.
(whats your cols value?)
Regards.
Post by Wieger
Yes. It needs to be fixed. Why is this taking so long? Is it ever going to be
fixed?
Post by Skuggan
I'm getting this bug too, and so thousands of others.
I'm looking forward to a solution for this from Microsoft, it's been some
time now since first report and the bug is still there.
Loading...