TiSMSView icon indicating copy to clipboard operation
TiSMSView copied to clipboard

textArea scroll position changes after rotation

Open sindresorhus opened this issue 14 years ago • 2 comments

If I write some lines in the textArea when in landscape, and then rotate to portrait, the scroll position is suddenly at the top of the textArea and not at the bottom as it should be.

Landscape: landscape

Portrait: portrait

sindresorhus avatar Sep 24 '11 12:09 sindresorhus

Yeah I know:

https://github.com/pec1985/ExpandableTextArea/blob/master/Classes/PESMSTextArea.m#L160

Not sure how to fix it right away.

pec1985 avatar Sep 24 '11 17:09 pec1985

i've solved this issue in my fork. so, if you're interested... https://github.com/iamyellow/ExpandableTextArea/commit/29f06e0a03dd6bfa1b696850136c7a1ea7974e0b

iamyellow avatar Jun 08 '12 17:06 iamyellow