lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

25164113: UITableView has different selection behavior on iPhone and iPad #7766

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

Summary: This issue is fully described by http://stackoverflow.com/q/30190887/344544. I have copied the relevant steps into this radar for your convenience.

Steps to Reproduce: Starting from a state, where one cell is already selected (and the table view only allows single selection). Cell A is the selected cell and Cell B is the new cell that will be selected.

On iPhone: Touch down: Cell B -> set highlighted to YES Touch up: Cell B -> set highlighted to NO Cell A -> set selected to NO Cell B -> set selected to YES

On iPad: Touch down: Cell B -> set highlighted to YES Cell A -> set selected to NO Touch up: Cell B -> set highlighted to NO Cell B -> set selected to YES Cell B -> set selected to YES

Expected Results: Expect only one cell to be highlighted at a time.

Actual Results: The result is, that on the iPhone the currently selected cell stays selected until the touch ends. On the iPad the currently selected cell get unselected during the touch.

Product Version: 9.2.1 Created: 2016-03-15T10:07:35.395580 Originated: 2016-03-15T00:00:00 Open Radar Link: http://www.openradar.me/25164113

openradar-mirror commented 8 years ago

Modified: 2016-03-15T10:07:35.395860