My website.
When scrolling the page on mobile and the toolbar gets hidden or made visible again as a result of scrolling the browser reports the size of the page having changed when the scrolling ends, which in turn causes perspective shifts when the finger is lifted from the screen. Try to work around this by anticipating this resize and calculating the perspective as if the screen hadn't changed size. While window.visibleViewport and window.screen in theory could have been used to determine exactly where and when the browser toolbar is present, it was found through testing that neither Chrome nor Firefox on Android reports useful values through these APIs, and instead pretended that the inner viewport was the whole screen. |
||
---|---|---|
.vscode | ||
src | ||
web | ||
.gitattributes | ||
.gitignore | ||
package.json | ||
pnpm-lock.yaml | ||
Readme.md | ||
tsconfig.json |
hornwitser.no
The code behind hornwitser.no