Create a chat system using Supabase

Hi,

I want to create a chat system using Supabase. The principle is simple: displaying messages sent from both sides in a real time. So far, no problem, but the main issue is that I have to manually scroll down to display the last message sent.

I’ve already discussed this problem on a Slack, and apparently, WeWeb is not fully integrated with Supabase, especially regarding websockets.

I’m looking for a workaround that doesn’t impact the user experience.

Any idea?

You’d need to do custom code for now and listen to the updates.

Thank you for your response. Where, how, and on which event should I trigger this code? The solution seems a bit complex for me.
We are no longer in nocode…