Overlay scroll to top button requirement #1518
-
Hello team, We have a requirement to provide a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @jaymehta1986, Can you provide some additional context? Is it that you are hoping the 'Back to top' button will be affixed to the viewport (ala, position: fixed) when the user scrolls down? |
Beta Was this translation helpful? Give feedback.
-
Hi @jaymehta1986 Following up on this one. After discussing with the team, we don't think we will be providing a component for this since this more of a layout consideration. That said, I think you could accomplish something like this with Paste components. You could place the Button in a fixed position Box, so it always stays at the bottom right of the viewport. You'll mainly need to be careful about what content the button might cover up. You could tie into the scroll position to change the opacity of that Button, so it only shows up based on scroll. Let us know if that helps, and if you come up with a solution using Paste we'd like to see that as well. |
Beta Was this translation helpful? Give feedback.
Hi @jaymehta1986
Following up on this one. After discussing with the team, we don't think we will be providing a component for this since this more of a layout consideration.
That said, I think you could accomplish something like this with Paste components. You could place the Button in a fixed position Box, so it always stays at the bottom right of the viewport. You'll mainly need to be careful about what content the button might cover up. You could tie into the scroll position to change the opacity of that Button, so it only shows up based on scroll.
Let us know if that helps, and if you come up with a solution using Paste we'd like to see that as well.