Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Messages do not scroll up when text view is growing, they stay behind the text view when "inverted" set to NO #333

Closed
adina-abduraman opened this issue Dec 22, 2015 · 4 comments

Comments

@adina-abduraman
Copy link

Hi guys, one problem I noticed when I configure inverted to NO. When writing text and the text view grows up, the already sent messages remain behind the text view, they are not pushed up while typing. This works ok if inverted is left at it's default value, YES.

@dzenbot
Copy link

dzenbot commented Dec 22, 2015

Yes, this isn't really a bug, but more of a missing support. This works out of the box when inverted is set ON because the tableView/collectionView is flipped, and auto-layout pushes the view up from the top, which doesn't modify the content offset, giving the impression that the scroll cursor moves along the text view when growing. Makes sense?
On the other hand, when not inverted, the tableView/collectionView moves from the bottom, without re-adjusting the content offset accordantly.

I agree this should be tweaked. I tried many times to add support for this case without getting into a great result. Will leave this one open as a reminder. Feel free to give it a try @adina-abduraman ✌️

@maranas
Copy link

maranas commented Feb 13, 2016

If the scrollview text is pushed up, then the most recent message (on top) will be hidden. Maybe putting the message box on top , then pushing the scrollview down (instead of up) when inverted = NO makes more sense to the user?

@eoboite
Copy link

eoboite commented Jul 21, 2016

Have this issue been fixed? I'm facing the same problem right now.

@dzenbot
Copy link

dzenbot commented Oct 29, 2016

Fixed in #542

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants