I noticed some strange behavior. I got CollectionViewCell and UIButton in it’s contentView. I implemented contextMenuConfigurationForItemAt
CollectionViewCell
contentView
contextMenuConfigurationForItemAt