pec1985 / TiSMSView

Expandable Text Area Module - iOS - Titanium
Other
60 stars 18 forks source link

textArea scroll position changes after rotation #27

Open sindresorhus opened 13 years ago

sindresorhus commented 13 years ago

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

pec1985 commented 13 years ago

Yeah I know:

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

Not sure how to fix it right away.

iamyellow commented 12 years ago

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