Opened 4 years ago

Closed 4 years ago

#18548 closed defect (wontfix)

SimpleTextarea: scroll bar doesn't work on pressing pageUp/pageDown in IE8

Reported by: bill Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

In IE8, The scroll bar of dijit/form/SimpleTextare(both in dojo1.6 and dojo1.10) doesn't work as other browsers on pressing pageUp/pageDown. For a very long(the vertical scroll bar shows up) text in text area, when you press the pageUp/pageDown button:

IE8: the cursor go to the beginning/end of the text the view will NOT be scrolled to show the cursor

Other browsers (including IE10+): the cursor go up/down some lines of the text the view will be scrolled to show the cursor

The code snippet to reproduce the error:

<div data-dojo-type="dijit/form/SimpleTextarea" id="index_textArea2" cols="20" rows="5">1
2
3
4
5
6
7
8
9</div>

(reproduces on test_SimpleTextarea.html too)

Change History (1)

comment:1 Changed 4 years ago by bill

Resolution: wontfix
Status: newclosed

This is a bizarre IE8 bug triggered by the overflow-y: auto CSS for dijitTextArea that was added to fix #8443.

I don't see any way to fix the page-up/page-down button behavior without regressing the fix for #8443... short of handling page-up/page-down in javascript, but that's not worth it.

So, I suggest that if this is a big issue for someone, just add custom CSS to your application for .dijitTextArea { overflow: auto }, or something like that.

Note: See TracTickets for help on using tickets.