Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accelerate the animation if show keyboard #72

Open
ivanvorobei opened this issue May 7, 2019 · 0 comments
Open

Accelerate the animation if show keyboard #72

ivanvorobei opened this issue May 7, 2019 · 0 comments
Labels
help wanted Extra attention is needed minor bug Not critical bug

Comments

@ivanvorobei
Copy link
Owner

If present controller

class TextFieldController: UIViewController {
    
    let textField = UITextField()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .white
        self.view.addSubview(self.textField)
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.textField.becomeFirstResponder()
    }
}

with SPStorkTransitionDelegate, animation for parent controller accelerate. If remove

self.textField.becomeFirstResponder()

all work correctly.

@ivanvorobei ivanvorobei added help wanted Extra attention is needed minor bug Not critical bug labels May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed minor bug Not critical bug
Projects
None yet
Development

No branches or pull requests

1 participant