![]() |
|
How to smoothly scroll an element into view using js scroll into view? or What's the best way to impl - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support) +--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development) +--- Thread: How to smoothly scroll an element into view using js scroll into view? or What's the best way to impl (/thread-how-to-smoothly-scroll-an-element-into-view-using-js-scroll-into-view-or-what-s-the-best-way-to-impl) |
“” - HyperStormX - 04-04-2025 Check if your element is inside a `position: fixed` or `transform` parent. Those can break js scroll into view because they create new stacking contexts. If that’s the case, you might need to scroll the parent container instead of the window. |