feat(frontend): keep focus, field errors and unsent answers on the minimal path

This commit is contained in:
shira committed 2026-10-09 21:32:55 +03:00
1 parent d4903a3796
commit c94434cd09
12 files changed
+1174 -18

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ function isInvitationCommand(request: Request): boolean {
}
async function expectNoHorizontalOverflow(page: Page): Promise<void> {
for (const width of [360, 1280]) {
for (const width of [360, 768, 1280]) {
await page.setViewportSize({ width, height: 900 });
const overflow = await page.evaluate(
() => document.documentElement.scrollWidth > window.innerWidth,