Answer the question
In order to leave comments, you need to log in
Different page heights with dynamic content in chrome and edge, who faced and solved?
Hello.
There is such a situation and a problem, a page with dynamic content, a fixed banner on it, when scrolling the page everything is fine, when the end stop point of the banner comes in edge and firefox it is different, the difference
is somewhere around ~ 60 px.
The break point was calculated using different methods: offsetTop, content height, window.height - footer, etc.
During the investigation, it turned out that different calculations in the height of the document on different browsers.
Here are the latest height data:
chorme - 14603
edge - 14708
There are suggestions that there are problems in the padding calculations.
In general, who came across, can you tell me the solutions?
Answer the question
In order to leave comments, you need to log in
Edge loves to write something for the programmer. I had a slightly different situation and was solved stupidly by comparing each element with my own code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question