-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General layout issues #268
Comments
Hey @jackdem, As for scrolling/keyboard handling. You should look at the Sent with GitHawk |
do i need to do any additional setup for those calls as either of them in the viewDidLoad doesnt scroll down correctly
|
what do you mean by not scrolling down correctly @jackdem? |
as shown in the screenshots, when the view loads, itll load in the middle of a convo, it doesnt scroll to the latest message |
Ok @jackdem I'll take a look, thanks for reporting this |
thanks, i assumed those library methods would allow the auto scroll as you mentioned, but as you can see in the viewdidload code above, im using them and its not triggering |
how did you solve this problem? |
i didnt, its messed up until the next release |
understood, we will work with it ourselves |
Yes, I did this, I can not say anything about further work with this, but at the moment to solve this problem, simply replace the scrollToBottom method with this one
|
did you put this in the framework its self or in the viewcontroller in app? |
@jackdem he put it in the framework itself |
can we get a pull request update? be good to get this issue resolved |
As I wrote this is a temporary solution |
As of the weird |
that lets me scroll to the top which works, but thats not really useful for a conversation? you would want to go to the bottom, which isnt working still |
@jackdem did you try it? For me it solved the situation when the bottom message is partialy visible and partialy hidden. |
in 30 minutes I will return for the workplace and take off the option as I decided this problem |
yes i tried, for me it loads the conversation at the top only, opening the keyboard still crops the conversation and not auto scrolling to the latest messages in a messaging app isnt good |
Please let me know if this is still happening in |
im on the latest version on cocapods whichever that is. nothings resolved or improved the situation for me |
The problem is when |
at the moment I use it this way
|
Tried the latest release (0.10), when message is just one line, screen scrolls up correctly and show the new message. When longer than one line, screen just won't scroll up, the new message is thus hidden. |
Hey @Terens777, thanks for providing that code. I'm wondering why you perform the check Could we not just use |
This is proving pretty difficult to solve. #301 fails to resolve the issue consistently. The code snippet provided by @Terens777 doesn't seem to work without being wrapped in |
I found some topic on stack overflow that might help! I'll try to implement a fix and them submit a PR! |
This should be resolved in #395 when 0.12.0 is released |
General Information
MessageKit Version: latest
iOS Version(s): 11
Swift Version: 3
Devices/Simulators: 8 sim
Reproducible in ChatExample? (Yes/No):
What happened?
I have several layout issues with the library, for example the chat window is hidden behind the message typing box, the view doesnt scroll to the bottom on load, opening the full keyboard doesnt life the chat view and obscures it.
What did you expect to happen?
adapts correctly
The text was updated successfully, but these errors were encountered: