I just finished working on a website project and shared it with some people for them to try, website doesn't render at all in the iOS device, but I can't locale the issue since I don't "own" an iOS device.
I am aware of browserstack but it doesn't help me more than seeing the page not loading with my own eyes.
iOS blank page load screenshot here ( Tried with both safari and google chrome, same issue on iPhone X and 11 Pro )
You can see the project here
Solved the issue:
Problem was that Chrome, Firefox and Safari on iOS devices do not use regexp lookbehind.
replaced: const linkParam = document.URL.match(/(?<=team-builder/).+/g);
with:
const urlSplit = document.URL.split('/');
const linkParam = urlSplit[urlSplit.findIndex((param) => param === 'team-builder') + 1];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.