Answer the question
In order to leave comments, you need to log in
How to fix content jump when scrollbar appears in SPA?
Hello!
The bottom line is this:
There is a SPA (React), on some pages there is enough content and the scrollbar is on its own, and on some it is not enough and there is no scrollbar. When switching between pages with/without a scrollbar, there is a slight horizontal jump in content.
Question:
What are the established practices for eliminating this horizontal jump of page content?
Purpose of the question:
To form a list of solutions to this problem.
PS I already know about these solutions to the problem:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question