Scroll to component, center it on screen?

Right now you can use an ID for in-page linking. However, that sets the screen so that the item is at the top of the screen after it scrolls. Is there a way to make it scroll so that it centers to it?

For example, if I want to have it scroll to an image, I want the image to end up being centered on the user’s screen.

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.