Skip to content

[BUG] iOS: 16.3.1 White screen #2573

@harthas

Description

@harthas

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

  • I have not read these checkboxes and therefore I just ticked them all, Please close this issue.

OpenList Version (required)

v4.2.2

Storage Driver Used (required)

local

Bug Description (required)

Device: iPhone
iOS: 16.3.1
Browser: Safari

OpenList 4.1.8: Works
OpenList 4.2.1: White screen

/api/public/settings works
All JS bundles load successfully
Root element remains empty

Regression introduced between 4.1.8 and 4.2.1.

Logs (required)

白屏后,源代码为

<title>OpenList</title> <script> window.OPENLIST_CONFIG = { cdn: '', base_path: '/', api: undefined, main_color: '#1890ff', } window.__dynamic_base__ = window.OPENLIST_CONFIG.cdn || "" </script> <script type="module">import'data:text/javascript,if(!import.meta.resolve)throw Error("import.meta.resolve not supported")';import.meta.url;import("_").catch(()=>1);(async function*(){})().next();window.__vite_is_modern_browser=true</script> <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src= window.__dynamic_base__+e.getAttribute('data-src'),n.onload=function(){System.import( window.__dynamic_base__+document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script> <script type="module" crossorigin="" src="/assets/index-LU7UZOdP.js"></script> <style>html,*{-webkit-user-select:text!important;}</style>

You need to enable JavaScript to run this app.

<script nomodule="">!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script> <script nomodule="" crossorigin="" id="vite-legacy-entry" data-src="/assets/index-legacy-snGFeJGC.js"></script> <script> (function(){ var preloads = [{"parentTagName":"head","tagName":"script","attrs":{"type":"module","crossorigin":"","src":"/assets/index-LU7UZOdP.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/chunk-DseTPa7n.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/preload-helper-BZsl5WQr.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/en-hZ0-9BhI.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/zh-CN-CQIa8LaP.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/zh-TW-BdOC7TgM.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"modulepreload","crossorigin":"","href":"/assets/store-lTnl42_k.js"}},{"parentTagName":"head","tagName":"link","attrs":{"rel":"stylesheet","crossorigin":"","href":"/assets/index-Bpb1jTBr.css"}},{"parentTagName":"body","tagName":"script","attrs":{"nomodule":"","crossorigin":"","id":"vite-legacy-polyfill","data-src":"/assets/polyfills-legacy-h7H8XqQx.js"}}]; function setAttribute(target, attrs) { for (var key in attrs) { target.setAttribute(key, attrs[key]); } return target; }; for(var i = 0; i < preloads.length; i++){ var item = preloads[i] var childNode = document.createElement(item.tagName); setAttribute(childNode, item.attrs) if( window.__dynamic_base__) { if(item.tagName == 'link') { setAttribute(childNode, { href: window.__dynamic_base__ + item.attrs.href }) } else if (item.tagName == 'script') { setAttribute(childNode, { src: window.__dynamic_base__ + item.attrs.src }) } } document.getElementsByTagName(item.parentTagName)[0].appendChild(childNode); } })(); </script> <script nomodule="" crossorigin="" id="vite-legacy-polyfill" data-src="/assets/polyfills-legacy-h7H8XqQx.js"></script> <script src="/assets/polyfills-legacy-h7H8XqQx.js"></script> <style id="A_T_S">*{-webkit-user-select:auto !important;}</style>

Configuration File Content (required)

local

Reproduction Link (optional)

No response

AI Generated Content (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions