Fix live swipe paging and retain tilt preference on iOS
All checks were successful
Verify and publish Calio container / build-and-push (push) Successful in 29s
All checks were successful
Verify and publish Calio container / build-and-push (push) Successful in 29s
Replace the damped single-screen fade with live mobile panels on a shared composited rail, preserving per-tab scrolling and pausing offscreen physics. Center macro text and separate the saved tilt switch from session motion permission, resuming permission from a normal interaction. Validate live previews, interruption and multi-touch cancellation, relaunch, and permission races.
This commit is contained in:
parent
7288e56c02
commit
3c0d6560f1
15 changed files with 784 additions and 263 deletions
|
|
@ -3,7 +3,7 @@
|
|||
(() => {
|
||||
const checks = {};
|
||||
const font = (element) => getComputedStyle(element).fontSize.split('px')[0] * 1;
|
||||
const visible = (selector) => [...document.querySelectorAll(selector)].filter(e => e.getBoundingClientRect().width > 0);
|
||||
const visible = (selector) => [...document.querySelectorAll(selector)].filter(e => e.getBoundingClientRect().width > 0 && !e.closest('.page-panel[aria-hidden="true"]'));
|
||||
const dialog = document.querySelector('dialog[open]');
|
||||
checks.noHorizontalPageOverflow = document.documentElement.scrollWidth <= window.innerWidth + 1;
|
||||
if (!dialog && visible('.dashboard-grid').length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue