// instead of:
return UISwipeActionsConfiguration(actions: [deleteAction])
// do something like this:
let configuration = UISwipeActionsConfiguration(actions: [deleteAction])
configuration.performsFirstActionWithFullSwipe = false
return configuration