Reputation: 2659
Firefox 4 automatically scrolls a textarea to its bottom if the content exceeds the viewable size. Previous versions of Firefox didn't do that.
Is there something, perhaps an about:config option, that I can tweak to make it behave like it used to?
Upvotes: 1
Views: 124
Reputation: 24617
Ah, yes. With the focus() call you would get that behavior. See http://bugzilla.mozilla.org/show_bug.cgi?id=353539 for the reason Firefox 4 does that. It looks like webkit puts the caret at the beginning of the text on focus, not at the end. Opera has the same (buggy) behavior Firefox used to have: the caret goes at the end, but is not scrolled into view
Upvotes: 0