You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling spreadsheetView.deselectItem(at: indexPath, animated: true) in the spreadsheetView(_:didSelectItemAt:) delegate method should deselect the item. UITableView has this behavior.
Actual Behavior
Calling spreadsheetView.deselectItem(at: indexPath, animated: true) in the spreadsheetView(_:didSelectItemAt:) delegate method does not deselect the item because the indexPath is not added to selectedIndexPaths until after the delegate method is called.
Steps to Reproduce the Problem
Tap to select a cell
See that the cell remains selected
Specifications
Xcode version: 13.4.1
iOS version: 15.5
Dependency manager + version: Cocoapods 1.11.3
The text was updated successfully, but these errors were encountered:
Expected Behavior
Calling
spreadsheetView.deselectItem(at: indexPath, animated: true)
in thespreadsheetView(_:didSelectItemAt:)
delegate method should deselect the item.UITableView
has this behavior.Actual Behavior
Calling
spreadsheetView.deselectItem(at: indexPath, animated: true)
in thespreadsheetView(_:didSelectItemAt:)
delegate method does not deselect the item because theindexPath
is not added toselectedIndexPaths
until after the delegate method is called.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: