I'm encountering a strange issue with my website's rendering specifically on iOS webview browsers such as Safari, Chrome, and Firefox. This problem only seems to occur on iOS devices and is not replicable on PC, Mac, or Android devices.
Initially, the site loads perfectly fine. However, after several reloads of the page or locking the device for a few seconds, upon reopening, screen tearing appears. I've tried various troubleshooting methods such as removing elements from the page, animations, and React components, but nothing seems to fix the issue. When inspecting the webpage using Safari developer tools, no errors are appearing.
The website is built using GatsbyJS as a static site generator, Reactstrap for Bootstrap, and FontAwesome for fonts. There are some animated SVG elements on the page, but even removing them doesn't resolve the problem. Initially, I suspected a memory leak in React and removed all React logic, but the issue persisted.
If anyone has any ideas or suggestions on how to debug and solve this issue, I would greatly appreciate it.
Click here for a screenshot showing the screen tearing during webpage render