-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I slowed down the animation to make this glitch better visible.
It happens at the handover of the view from the interactive and non-interactive part of the transition.
I assume the problem lies around here, but I can't figure it out
appstore-card-transition/AppstoreTransition/AppstoreTransition/DismissCardAnimator.swift
Lines 61 to 69 in 4e98e9d
| // Card fills inside animated container view | |
| cardDetailView.edges(to: animatedContainerView) | |
| animatedContainerView.centerXAnchor.constraint(equalTo: container.centerXAnchor).isActive = true | |
| let animatedContainerTopConstraint = animatedContainerView.topAnchor.constraint(equalTo: container.topAnchor, constant: params.settings.cardContainerInsets.top) | |
| let animatedContainerWidthConstraint = animatedContainerView.widthAnchor.constraint(equalToConstant: cardDetailView.frame.width - (params.settings.cardContainerInsets.left + params.settings.cardContainerInsets.right)) | |
| let animatedContainerHeightConstraint = animatedContainerView.heightAnchor.constraint(equalToConstant: cardDetailView.frame.height - (params.settings.cardContainerInsets.top + params.settings.cardContainerInsets.bottom)) | |
| NSLayoutConstraint.activate([animatedContainerTopConstraint, animatedContainerWidthConstraint, animatedContainerHeightConstraint]) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
