fix(journey): two quick swipes in the photo viewer turn pages instead of zooming

A double tap counted every lift of a finger, the end of a swipe included, so
two quick swipes zoomed in. Only a touch that stays in place is a tap now.
The client tests follow the fields and arguments the qol sweep added.
This commit is contained in:
Maurice
2026-09-30 23:30:51 +02:00
parent f5103d04e0
commit d6435572b7
10 changed files with 36 additions and 14 deletions
@@ -806,10 +806,10 @@ describe('TodoListPanel — detail pane', () => {
]} />);
await user.click(screen.getByText('Plan route'));
expect(await screen.findByDisplayValue('coast')).toBeInTheDocument();
expect((await screen.findAllByText('coast')).length).toBeGreaterThan(0);
await user.click(screen.getByText('Book ferry'));
await waitFor(() => expect(screen.queryByDisplayValue('coast')).not.toBeInTheDocument());
await waitFor(() => expect(screen.getByDisplayValue('Book ferry')).toBeInTheDocument());
expect(screen.getByDisplayValue('Book ferry')).toBeInTheDocument();
});
});