Forum Documentation Showcase Pricing Learn more

Messaging Feature


#1

is there way to make messaging in bubble? Like a group of people join the group message and stuff like that.


Messaging Between Users
#2

yes, but at this stage you’ll have to create the data structure and use a repeating group to show the different messages, etc. We’ll add a chat module at some point, it’s not the features lab, but not at the second.


#3

Ok thank you!!! Sorry for too much question!! But bubble rocks and I am lucky I found it :smile:


#4

Question related to this - any plans to make it so items in a repeating group can be of variable height? Messaging is a really good example of a place you might want to do this.

Thanks!


#5

Yes, if you use elements inside a repeating group that are expandable (like a text element or a multi-line input, the repeating group cell will expand automatically. Also, you can set the repeating group to show the total number of cells or to have infinite scrolling feature, at the rep group level.


#6

Thanks Emmanuel for the hint with the data structure and the repeating group. I managed to set this up and the expandable elements are working perfectly fine.
The only issue I face is that the repeating group doesn’t automatically scroll down to the latest message when the posts are sorted in an ascending way. Can I either specify in the workflow a scrolling within the repeating group (for the moment it looks like if this is only possible for elements on the page) or eventually start populating the repeating group from the bottom in an inverted way?


#7

Yes we don’t have that yet. The best approach here is to sort the messages by date, “descending”. You can do this in the search.


#8

OK, thanks. That is what I am doing so far. It just would have been nicer to read the conversation from the top to the bottom.


#9

I am facing the exact same challenge trying to build messaging feature (such as WhatsApp).
On sorting by descending, messages get added but repeating group scroll position remains static.
Users are not okay with either of the two options: reverse the current way of reading conversations (or) having to scroll manually everytime a new message is posted.
Is there already an workaround to do this e.g. set the default scrolling position of a repeating group as the bottom / create a workflow to do this ?


#10

I know you posted this a long time ago and may no longer need an answer, but I just ran into the same problem and found a solution in another thread. If you do a workflow > Element Actions > Scroll to Entry > Entry to Scroll to (Search for last item)

It worked for me!

How to auto-pull Repeating Group for Messaging feature to bottom, like iOS Messages?


#11

Hey Jeff, what do you mean with Scroll to Entry? I cannot search for last items personally.
Would you be happy to share a screenshot of the workflow please?

Thanks!
Vincent


#12

Hi Vincent - it’s in the workflow - see attached


#13

Awesome! I missed it in the Workflow Actions… Thanks Jeff!