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)
Hope somebody can help?
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…)
Have you found any solution for this?
I would like to use the keyboard of the device and not creating one
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
Many thanks for your help
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!
does this avoid the zooming effect as well?
I think the only way to prevent the zoom on IOS is to make sure the text is at least 16px, but I’m not 100% sure!
even if i build a native app with gonative, dropsource or others?
@yanisbensalem I haven’t done that before so I’m not too sure, but if you start a new thread with that question I’m sure a fellow Bubbler knows!
Many thanks for your help