Keep “Add Comment” button fixed on screen when scrolling

I’m building a private chat right now.

However, I found a serious problem.

The more you chat, you have to scroll down to the very end of the page.

Don’t you think it’s inconvenient?

That’s why I want users to chat from the floating form button on the far right of the picture.

However, I can’t find App Comment on the destination.

Do you have any solution for me?

1 Like

I wonder if you can use CSS to set the comment input box as fixed so it will always be at the bottom of the screen as you scroll.

Thanks Jeff, but I’m just starting out with glide and I don’t understand css at all. I’ve never coded before.

Could you share code for me?

I’ll tinker with it later today and get back to you. I’m out at the moment

1 Like

Thank you so much!! You saved my life.

Check this out!

<pre><span><style>
.hEyZqr {
position: fixed;
bottom: 0;
margin-bottom: 80px;
background: white;
width:100%;
box-shadow: 0px 0px 19px 5px rgba(199,197,199,1);
padding: 10px;
}

6 Likes

Thank you very much. I’ll check it now!

I checked it and it worked perfectly. You helped me and I really helped. Sincerely thank.

2 Likes