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
@@ -125,7 +125,7 @@ describe('MAtlasCountryPopup', () => {
fireEvent.click(screen.getByText('atlas.addToBucket'))
await waitFor(() => expect(setConfirmAction).toHaveBeenCalledWith(null))
expect(body).toEqual({ name: 'France', country_code: 'FR', target_date: '2027-05' })
expect(body).toMatchObject({ name: 'France', country_code: 'FR', target_date: '2027-05' })
expect(setBucketList).toHaveBeenCalled()
})
})