I am currently making my chat reponsive and encountered a problem:
kind of hard to explain but how can I squeeze a repeating group together when the user sets focus on an input form? Example:
When you enter a chat in whatsapp you see the whole conversation and as soon as you enter the input-form your keyboard pushes the input-form upwards and squeezes the conversation.
Example (left with keyboard, right without keyboard - sorry could not find a better example)
Thatās cool. I havenāt used responsiveness - so I donāt know if there is a better way.
But I would try to set it up so:
āWhen this input fields value is focused or not empty > show a new group.ā
(The new group would be the emoticons + the input field (you may even have to have two input fields - one to trigger this group to show - and then another inside the groups)) - because getting an entire group to show from under the input field; then push it up might be pretty trickey.
But anyway - the new group could be a āgroup with focusā focused to your apps āfooterā
Then a final workflow - that scrolls to your chat feeds:last item.
ā that should mimic the result your wantingā¦
^ Iām wondering if you even need all this though? You should just be able to set your input field to a multiline input - then it will stretch to fitā¦
(Unless you in fact are wanting to use emoticons/stickers in your appā¦)
Hi @yanisbensalem Are you using an ext. vertical scroll repeating group for the messages? If so, you can place an icon below that repeating group (outside of the rg) and then scroll to that Icon each time the Send Message input is focused.
Note: Youāll have to set the icon to only be visible when the Send Message Input is focused, and then set up the workflow ā(Do When Condition is True - Every Time) When Icon is visibleā --> Scroll to the Icon. I have it in an app and it does the trick, but let me know if you have any questions!
Thanks a lot for your feedback
What i am looking for is to reproduce the same mobile experience than sending a message on WhatsAppā¦the moment you focus on the input, this one goes just above the keyboard, no zooming effect and an input field that stays stick just above the keyboard
I insist on the fact that i am focused on mobile experience
Right! Iām sorry I forgot to mention I also have the New Message input inside of a floating group set to float: bottom, at the bottom of the screen. That, as well as the scroll to Icon each time an Input is focused should display the input above the keyboard each time a User begins typing, and scroll the User to the bottom of the repeating group, but let me know if not!