mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Fix transition_out animation when switching back to the default state
commit_hash:ba0b5d53b6103bcb460f4e88994aadd2fd304c3c
This commit is contained in:
+1
-2
@@ -168,9 +168,8 @@ final class DetachableAnimationBlockView: BlockView, DelayedVisibilityActionView
|
||||
childView.frame = convertFrame(to: container)
|
||||
self.childView = nil
|
||||
container.addSubview(childView)
|
||||
childView.perform(animationOut, animated: true, completion: { [weak self] in
|
||||
childView.perform(animationOut, animated: true, completion: {
|
||||
childView.removeFromSuperview()
|
||||
self?.animationOut = nil
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user