The screen.width and viewport width are 320px, while both the innerWidh and clientWidth are 345px, which the total of 320px + screenX=10px + scrollbar=15px. I am not sure where that comes from. At the least, screenX should be assumed to be 0 in a mobile environment.
That will very likely lead to JS rendered layout not being rendered properly, due to incorrect clientWidth.
The
screen.width
and viewport width are 320px, while both the innerWidh and clientWidth are 345px, which the total of 320px + screenX=10px + scrollbar=15px. I am not sure where that comes from. At the least, screenX should be assumed to be 0 in a mobile environment.That will very likely lead to JS rendered layout not being rendered properly, due to incorrect clientWidth.