diff --git a/CHANGELOG.md b/CHANGELOG.md index a44650826..ccd3e800b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ - Fixed service worker not passing 304 (not modified) response and instead serving cached responses - Fixed history not being properly registered +- Fixed prices on charts not having a wide enough background due to the font not being fully loaded during the creation of the chart +- Fixed window being moveable on iOS when in standalone mode when it shouldn't be ## Server diff --git a/website/index.html b/website/index.html index 9675a3935..d53765750 100644 --- a/website/index.html +++ b/website/index.html @@ -509,6 +509,7 @@ color: var(--color); scrollbar-color: var(--off-color) var(--background-color); /* Foreground, Background */ scrollbar-width: thin; + overflow: hidden; } input { diff --git a/website/script.js b/website/script.js index 347adcc0c..aa1c4099d 100644 --- a/website/script.js +++ b/website/script.js @@ -8027,16 +8027,18 @@ lazySignals.then((importedSignals) => { dom.onFirstIntersection(selectedFrameElement, () => utils.runWhenIdle(() => - import("./packages/lightweight-charts/v4.2.0/script.js").then( - ({ - createChart: createClassicChart, - createChartEx: createCustomChart, - }) => { - initSelectedFrame({ - createClassicChart, - createCustomChart, - }); - } + window.document.fonts.ready.then(() => + import("./packages/lightweight-charts/v4.2.0/script.js").then( + ({ + createChart: createClassicChart, + createChartEx: createCustomChart, + }) => { + initSelectedFrame({ + createClassicChart, + createCustomChart, + }); + } + ) ) ) );