Creating a floating button on mobile

Just wanted to see what the best solution would be to create a floating button on mobile?

Ideally this button should stay in the same position no matter where the user is on the page.

I’ve tried using absolute positioning but when a scroll is involved this method breaks down.

Screenshot 2023-10-18 at 10.16.53

Thanks in advance for the help :slight_smile:

Hi,
you should use the “fixed” position (fixed mean do not change on scroll, and always be in the same position on the screen)

1 Like

Yep that did the trick. Thank you :slight_smile: