Trouble making a floating group expand in height when a multiline input gets populated

Hey!

I am creating a chat interface in my app with a floating group at the bottom for the chat input and send button. It looks like this:


Whenever I type in it, the floating group doesn’t expand so it ends up looking like this:

Obviously, not what I’m going for. I want it to behave like this:

I’ve spent some time playing with different ideas but nothing worked. Looking for solutions that keep the floating group functionality in play.

Any help is appreciated :slight_smile:

PS, the example copy came from me spamming apple’s recommended words lol, don’t try to make sense of it