Tap, long press, swipe, pinch and the rest. How touch gestures work, why they clash with each other and with the system, and how to test them so every user can still get the job done.
45–65 min beginner Mobile
Your progress
A food delivery app shipped a neat new feature: swipe an order left in your basket to remove it. Within a week, support tickets piled up. “My pizza disappeared.” “I didn’t remove anything!” People were scrolling the basket with their thumb, the thumb drifted a little sideways, and items vanished. No Undo, no confirmation. Some customers only noticed at the door, when the rider handed over half an order.
Nobody had tested scrolling the basket. The swipe worked perfectly when you swiped. It also “worked” when you didn’t mean to.
Part Not started
Why gestures matter
On a phone there is no mouse and no hover. Everything happens through a few gesturesGestureA touch action such as tap, long press, swipe, pinch or drag.Open in glossary →: tap, hold, swipe, pinch. They feel natural, which is exactly why users notice instantly when one misbehaves, and why bugs here feel like the app is “broken” even when the code technically does what it was told.
Gestures are tricky to test because:
They are invisible. A button says “Delete”. A swipe-to-delete says nothing until you discover it.
They compete. The same finger movement could be a scroll, a swipe, a drag or the system’s back gesture. The app has to guess.
They depend on thresholds: how long is a long press? How far is a swipe? Change a number and the feel changes completely.
Item jumps, drops in the wrong place, scroll fights the drag
Pinch
Two fingers apart (zoom in) or together (zoom out)
Photos, maps, PDFs
Zoom limits, blurry images, losing position
Rotate
Two fingers turn around each other
Maps, photo editors
Accidental rotation while zooming
Pull to refresh
Drag down when the list is already at the top
Reload a feed, inbox or order list
Fires twice, spinner stuck, list jumps
Edge swipe
Swipe in from a screen edge
Back, drawers, system menus
Clashes with app gestures near the edge
Multi-finger
Two or three fingers at once
Two-finger tap to zoom out in maps, three-finger undo on iPad/iPhone
Hard to discover; conflicts with accessibility gestures
What separates a tap from a swipe
An app doesn’t “see” gestures. It sees a stream of touch points: finger down at (120, 340), moved to (124, 338), lifted after 180 ms. A gesture recognizer turns that stream into a decision using a few thresholds:
Time. Lift before roughly 500 ms without moving: tap. Stay still longer: long press, which fires while the finger is still down.
Distance and speed. Moved and still moving fast when lifted: swipe (a fling). Moved but slowed down before lifting: drag.
Waiting for a second tap. If a view supports double tap, the app must wait about 300 ms after the first tap before it knows whether a single tap happened. That’s why single taps on zoomable photos can feel slightly slow.
Fingers. Two touch points whose distance changes: pinch. Two points turning around each other: rotate.
Try it: the gesture pad
Play with the pad below and watch how the numbers decide the gesture. Try a slow drag versus a quick flick over the same distance. Hold still until the ring fills. Turn off “Wait for double tap” and double tap: you’ll get a Tap first and then a Double tap, which is exactly how “the like button also opened the post” bugs happen.
✋ Gesture pad
Tap, double tap, press and hold, flick, drag slowly. Works with a mouse or a finger. Pinch and rotate with two fingers on a touch screen, or hold Shift while dragging with a mouse.
Try a gesture here
Recognized
Nothing yet
Duration
–
Distance
–
Velocity
–
Fingers
–
Thresholds used here
Touch slop: 10 px of wobble still counts as "not moving"
Long press: held still for 500 ms
Double tap: second tap within 300 ms
Swipe: ≥ 40 px and ≥ 500 px/s at release, otherwise drag
Pinch: finger distance changes by ≥ 10%. Rotate: ≥ 15°
History
Your gestures will appear here.
Real apps tune these numbers. iOS and Android use similar defaults, but every app can change them.
Check this part
A user moves their finger 60 px but slows to a stop before lifting it. What does a typical recognizer report?
A swipe needs the finger to still be moving fast at release. Slow, controlled movement is a drag.
Why can single taps on a zoomable photo feel slightly delayed?
If a view supports double tap, the app can only be sure a tap was single after the double-tap window has passed.
Tap, long press, swipe, drag, pinch and the rest, and the thresholds of time, distance and speed that tell them apart.
Part Not started
Edge swipes belong to the system
Some edges of the screen are reserved. A swipe that starts there is handled by the operating system or by the navigation stack, not by your app’s content.
1
2
3
4
iPhone (Face ID models)
1 Swipe from the left edge: back to the previous screen (in apps that use the standard navigation)
2 Swipe down from the top (left/middle): Notification Center
3 Swipe down from the top-right corner: Control Center
4 Swipe up from the bottom: Home; swipe up and hold: App Switcher; swipe sideways along the bottom: switch apps
1
1
2
4
Android (gesture navigation)
1 Swipe in from the left or right edge: system Back (works in every app; Android 14+ can show a predictive back preview)
2 Swipe down from the top: notification shade; swipe again: Quick Settings
4 Swipe up from the bottom: Home; swipe up and hold: Recents; swipe sideways along the bottom: switch apps
Older phones or users who prefer it may use 3-button navigation (Back, Home, Recents) instead.
Why testers care: any app gesture that starts in these zones (a drawer that opens from the left edge, a carousel that touches the screen edge, a bottom sheet you drag up) competes with the system.
Things to know:
iOS back swipe is built into the system’s standard navigation. Apps with custom navigation sometimes break it, so swiping from the left edge does nothing or, worse, leaves the screen half-dismissed.
Android back is a system gesture from both side edges. It must do the same as the back button: close the drawer, dialog or keyboard first, then go back a screen, and only then leave the app. With predictive back, apps that support it show a preview of where you’ll land (since Android 15; on by default for apps that target Android 16).
Apps can ask the system to exclude small areas from the back gesture (for example a drawing canvas), but that’s limited and should be rare.
In full-screen games and video, iOS may need two swipes from the edge (the first one just shows the indicator), so the game doesn’t get interrupted.
When gestures collide
The most interesting gesture bugs come from conflicts: two things want the same finger movement. Good apps decide early, usually within the first few pixels, which direction the finger is going and then lock to one gesture.
Conflict
What should happen
Typical bug
Horizontal carousel inside a vertical list (product rows on a shopping home screen)
Mostly-horizontal movement scrolls the carousel, mostly-vertical scrolls the page
Page won’t scroll when your thumb starts on a carousel; carousel jitters while scrolling
Swipe-to-delete vs. back swipe
Swipes starting at the very edge go back; swipes on the row act on the row
Trying to go back deletes the first row, or row swipes navigate back
Map inside a scrolling page (a delivery tracking screen)
One finger scrolls the page; panning the map needs two fingers or a “tap to interact” step
You get stuck “inside” the map and can’t scroll past it
Swipe actions vs. vertical scrolling
No direction lock, no action
A slightly diagonal scroll swipes a row and triggers its action
Pinch-zoom vs. page zoom (web views)
The image zooms, not the whole page
The whole page zooms and the layout breaks
Drawer from the left edge vs. Android back
Clear grab handle or menu button opens the drawer
Opening the drawer sends the user back instead
Check this part
On Android, which edges does the system back gesture start from?
Android back works from both side edges. On iOS, the back swipe comes from the left edge.
A finger movement could be a scroll or a row swipe. What should a good app do?
Without a direction lock, a slightly diagonal scroll can trigger a row action.
Swipes from the screen edges belong to the system, and the best gesture bugs come from two gestures wanting the same movement.
Part Not started
Discoverability: hidden gestures need a visible way
A gesture is a shortcut, never the only path. Users can’t see swipe actions or long-press menus, so many will never find them. Apple’s and Google’s guidelines both say the same thing: provide a visible control for important actions.
Gesture plus a visible control
Swipe left on an email to delete it, and there is a trash button in the opened email, and “Delete” is in the long-press menu. After deleting, a snackbar says “Email deleted · Undo” (see toast).
Gesture only
The only way to delete is swiping. There is no hint, no button, and once it’s gone, it’s gone. Users who don’t know the gesture can’t delete; users who trigger it by accident can’t recover.
Destructive gestures deserve extra care: a higher threshold (a full swipe or a swipe plus tap on the revealed button), a clear color and icon while swiping, and an Undo afterwards.
Accessibility: every gesture needs an alternative
Lots of people can’t do a precise swipe, pinch or long press: people with tremors or limited dexterity, people using a stylus or a head pointer, and people who can’t see the screen. When VoiceOver (iOS) or TalkBack (Android) is on, gestures change meaning completely: a single tap only selects an item, a double tap activates it, and swiping left or right moves between elements. Your app’s custom swipe never reaches the app.
So for every gesture, check that there’s another way:
Screen readers. Custom swipe actions should be exposed as accessibility actions: VoiceOver reads “Actions available” and the user swipes up or down to pick “Delete”. TalkBack lists them in its Actions menu. Standard iOS list swipe actions get this for free; custom-built ones often don’t.
WCAG 2.5.7 Dragging Movements (Level AA, WCAG 2.2): anything done by dragging must also be possible without dragging, such as “Move up / Move down” buttons for a reorderable list.
WCAG 2.5.2 Pointer Cancellation (Level A): actions should fire when the finger lifts, not when it touches down, so users can slide off a button to cancel.
Which finding is a WCAG 2.5.1 Pointer Gestures failure?
Path-based gestures like swipes need a single-pointer alternative without a path, such as Next/Previous buttons.
With VoiceOver on, what does a single tap on an email row do?
With a screen reader, a single tap selects and a double tap activates. Custom swipes never reach the app, so they must be offered as accessibility actions.
What should a destructive gesture like swipe-to-delete come with?
Destructive gestures deserve extra care so accidents can be avoided and recovered from.
A gesture is a shortcut, never the only path: visible controls, Undo, screen reader actions, WCAG rules and haptic feedback.
Swipe back from the left edge (and the right edge on Android) on every screen, including screens with swipeable content.
Pull to refresh once, twice quickly, and while a refresh is already running. Watch the network log.
Start a gesture and cancel it: drag back to the start, slide off the button, or get interrupted by a call or notification.
Recovery and accessibility
Destructive gestures have an Undo or confirmation.
Every gesture action is also available through a visible button or menu.
Everything works with VoiceOver, TalkBack, Switch Control and Voice Control.
Long press respects the system touch-and-hold delay.
Check this part
How do you look for a conflict between scrolling and swipeable rows?
Real thumbs drift sideways. A slightly diagonal scroll shows whether the app locks to one direction.
You start a swipe and then change your mind. What should you test?
Canceled and interrupted gestures are where rows stay half-swiped or actions fire by accident.
What to check for every gesture: recognition, conflicts and edges, recovery and accessibility.
Part ProNot started
Common bugs
#
Bug
What you see
Typical severity
1
Accidental destructive swipe
Items deleted while scrolling or after a tiny nudge
High
2
No Undo
Deleted or archived item is gone with no way back
High
3
Gesture-only action
Feature can’t be reached without a swipe, pinch or drag (fails WCAG 2.5.1 / 2.5.7)
High (for affected users)
4
Double action
Long press opens the menu and opens the item; double tap “likes” and opens the post
Medium
5
Pull to refresh misfires
Two requests, duplicated items, or a spinner that never stops
Medium
6
Scroll vs. swipe conflict
Carousels, maps or rows hijack vertical scrolling
Medium–High
7
Broken back gesture
Edge swipe does nothing, closes the app, or leaves a half-dismissed screen
High
8
Wrong zoom behavior
Pinch zooms the whole page, jumps to a corner, or has no limit
Low–Medium
9
Stuck state after cancel
A row stays half-swiped or a dragged item stays “lifted” after an interruption
Medium
10
No feedback
Long press works but nothing shows it’s coming, so users give up early
Low
Find the bug
This mail app supports swiping, long press and pull to refresh, and it has six gesture bugs. Everything works with a mouse too: drag to swipe or scroll, press and hold for the menu. Explore it like a tester:
Swipe a row a little, then a lot. Scroll the list by dragging, not perfectly straight.
Try to delete an email without swiping.
Press and hold an email, then let go.
Pull to refresh and keep an eye on the spinner and the network log.
🐞 Bug hunt: Mail inbox
This demo has 6 hidden bugs. Explore it like a tester, then check your findings.
Found0/6
9:41
Inbox
3 unread · 12 emails
FreshCart9:38Your order is on its wayRider Marco is 8 minutes away with your groceries…
Emma Clarke9:12Dinner on Friday?There is a new ramen place near the station, want to…
Northwind Bank8:47Your statement is readyYour September statement for account ending 4821…
SkyTrail Airlines8:02Check-in is open: LIS → BERYour flight ST 482 departs tomorrow at 07:15…
PulseFitYesterdayYou hit your step goal 5 days in a rowKeep the streak going! This week you walked 52 km…
Daniel NovakYesterdayRe: Sprint review slidesLooks good, I added two screenshots of the new…
CityRideYesterdayYour weekend tripsYou took 3 rides this weekend. Total: €18.40…
Mia (Landlord)MonPlumber visit on TuesdayHi! The plumber will come between 10 and 12, please…
BookNookMonYour library loan is due soon"The Pragmatic Programmer" is due back on Oct 18…
StayWell HotelsSunBooking confirmed #HX-20931Thanks for booking 2 nights in Porto. Check-in from…
Gym BuddiesSatSaturday 9am runMeeting point is the park entrance, bring water…
Tax OfficeFriReminder: file by Oct 31This is a friendly reminder that the deadline for…
How to interact
Mouse or finger: drag rows sideways to swipe, drag the list up/down to scroll, pull down at the top to refresh, press and hold a row for the menu.
Network log
Pull to refresh to see API requests…
1
Hint: Delete an email, then try to get it back.
Swipe to delete has no Undo
The email disappears instantly: no confirmation, no Undo snackbar, no trash folder. Expected: after a destructive swipe the app shows "Email deleted · Undo" for a few seconds (or moves the email to Trash).
2
Hint: Drag a row sideways just a little and let go.
A tiny swipe deletes the email (threshold too low)
Moving only 24 px to the left deletes the email. Expected: a short swipe reveals the red Delete button or snaps back; deleting needs a long swipe (around half the row) or a tap on the revealed button.
3
Hint: Open an email or press and hold one. Can you delete it from there?
Delete is only possible with a swipe
Neither the opened email (only Reply and Forward) nor the long-press menu has a Delete option. Users who don't know the gesture, and VoiceOver, TalkBack, Switch Control or Voice Control users, can't delete at all. Fails WCAG 2.5.1 Pointer Gestures.
4
Hint: Press and hold a row until the menu appears, then release.
Long press opens the menu AND the email
The menu appears, but on release the tap action also runs, so the email opens underneath the menu (and is marked as read). Expected: once the long press fires, the tap is canceled.
5
Hint: Pull down at the top of the list and watch the network log.
Pull to refresh fires twice and the spinner never stops
One request is sent when the pull crosses the threshold and another on release. The duplicate is canceled, but the app waits for that one to finish, so "Checking for mail…" spins forever even though new mail arrived. Expected: exactly one request per pull, and the spinner hides when it completes.
6
Hint: Scroll the list by dragging up, slightly diagonally.
Scrolling the list deletes emails
There is no direction lock: a mostly vertical scroll with a small sideways drift also moves the row and deletes it on release. Expected: the app decides in the first few pixels whether the movement is a scroll or a swipe and ignores the other direction.
Check this part
Users report emails disappearing by themselves while scrolling. What should you test first?
A missing direction lock lets a slightly diagonal scroll also count as a swipe, which then deletes the row.
Long press opens the menu and opens the item underneath. Which common bug is this?
Once the long press fires, the tap should be canceled.
The gesture bugs that reach users most often, and a mail app with six of them to find.
The rest of this lesson is in Bugwise Pro
The last parts of every lesson are part of Bugwise Pro. Sign in to unlock them if you have it.
Your fingers and a real phone are the main tools here. The Simulator and Emulator tips help when you don’t have the device at hand. Lines that start with adb or xcrun simctl are optional shortcuts that you type in a terminal on a computer: adb is set up in adb Basics, and xcrun simctl comes with Xcode (see Simulators and Emulators). Skip them until you’ve done those lessons.
Xcode Simulator
A click is a tap; click and drag is a swipe or drag. Click and hold for a long press.
Hold Option (⌥) to show two touch points mirrored around the center: drag to pinch, drag in a circle to rotate. Add Shift to move both points together (two-finger drag).
Use Device › Home (⇧⌘H) and Device › App Switcher, or drag up from the bottom edge, to test system gestures.
Device › Shake triggers the shake gesture (often used for “Undo” or “Report a bug”).
Turn on Settings › Accessibility › Touch › AssistiveTouch to get an on-screen menu with gestures you can trigger with one finger, useful to check single-pointer alternatives.
Screen recordings don’t show your touches, so describe your gestures precisely in bug reports (“swipe from the left edge, about 2 cm, slowly”).
Android Emulator
Click is a tap, click-drag is a swipe. Hold Ctrl (⌘ on a Mac) while dragging to pinch and zoom.
The emulator uses gesture navigation by default on recent system images; switch to 3-button mode under Settings › System › Navigation mode (called Gestures › System navigation on older versions) and test both.
Developer options (tap Build number 7 times to unlock)
VoiceOver: Settings › Accessibility › VoiceOver. Focus a row and swipe up or down to hear its custom actions (“Delete”, “Archive”). Add VoiceOver to Accessibility Shortcut so a triple-click on the side button toggles it.
TalkBack: Settings › Accessibility › TalkBack. Focus an item and open the TalkBack menu (three-finger tap, or swipe down then right on older versions) and pick Actions.
Switch Control / Switch Access: use the screen as a switch and check every action can be reached by scanning, without dragging.
Voice Control (iOS) / Voice Access (Android): say “Show names” or “Show numbers” and check every gesture action has a visible, labeled control you can say.
Gestures are decided by thresholds: touch slop, ~500 ms for long press, ~300 ms double-tap window, distance and release speed for swipe vs. drag.
The best bugs live in conflicts: scroll vs. swipe, carousel vs. page, row swipe vs. back gesture, map vs. page. Always try the “wrong” movement on purpose.
Edges belong to the system: iOS left-edge back, Android back from both edges, notification shade at the top, Home at the bottom.
A gesture is a shortcut, not the only path. Destructive gestures need a deliberate threshold and Undo.
Every gesture needs an accessible alternative for VoiceOver, TalkBack, Switch Control and Voice Control users (WCAG 2.5.1, 2.5.7).
Repeat gesture tests on a real device: simulators can’t reproduce finger size, haptics or real-world thumb drift.