feat(frontend): keep focus, field errors and unsent answers on the minimal path
This commit is contained in:
1 parent
d4903a3796
commit
c94434cd09
12 files changed
+1174
-18
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user