Skip to content

Conversation

@pableiros
Copy link

I need the currentMovingCell to solve a weird animation occurs when moving an event on the same date of another event.

I do this to solve the weird animation:

 // MARK: - JZLongPressViewDelegate

func weekView(_ weekView: JZLongPressWeekView, editingEvent: JZBaseEvent, didEndMoveLongPressAt startDate: Date) {
    weekView.currentMovingCell.contentView.isHidden = true
    ...
}
// JZLongPressWeekView
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
    ...

    cell.contentView.isHidden = false

    ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants