A non-transitory computer-readable storage medium storing instructions, which when executed by one or more processors of an electronic device in communication with a touch screen, cause the electronic device to perform a method comprising:
- while at least a portion of the touch screen is in a trackpad mode and while a respective contact is in contact with the at least the portion of the touch screen, detecting liftoff of the respective contact from the touch screen;
- and
- in response to detecting the liftoff of the respective contact from the touch screen:
- in accordance with a determination that a movement of the respective contact in the at least the portion of the touch screen before the liftoff of the respective contact satisfies one or more criteria, delaying exiting the trackpad mode for the at least the portion of the touch screen for at least a time period;
- and
- in accordance with a determination that the movement of the respective contact in the at least the portion of the touch screen before the liftoff of the respective contact does not satisfy the one or more criteria, exiting the trackpad mode for the at least the portion of the touch screen without delaying the exiting of the trackpad mode.