Githawk: Focus keyboard as “new issue” presents

Created on 8 Nov 2017  ·  7Comments  ·  Source: GitHawkApp/GitHawk

Feels a little jerky. The keyboard pops into place as the VC is animating. Could we animate it together somehow? Maybe a custom transition coordinator?

Being picky, but putting this tiny polish on stuff is fun 😇


Bug Report Dump (Auto-generated)

Version 1.12.0 (1166)
Device: iPhone 7 Plus (iOS 11.1)
TestFlight: false

🆕 feature request low priority

Most helpful comment

Created a quick hack to do this. Feels pretty smooth. I'll work on cleaning this up and making it a more permanent part of the app. Will also figure out better modal presentation animations for iPad (maybe just not use this on iPad...)

ViewControllerKeyboardAnimated.zip

Gist of the interesting code

Animation:

keyboard

All 7 comments

Created a quick hack to do this. Feels pretty smooth. I'll work on cleaning this up and making it a more permanent part of the app. Will also figure out better modal presentation animations for iPad (maybe just not use this on iPad...)

ViewControllerKeyboardAnimated.zip

Gist of the interesting code

Animation:

keyboard

So edit comments, new issue, and report bug will benefit from this. Their transitions are a little inconsistent atm.

Sent with GitHawk

Interesting approach, may I ask why you have hard-coded 0.3 in one delegate call while in the other parts you seem to get it from the keyboard notification?

Good point, I'll use the current value and fallback to 0.3 if we haven't gotten a time from the keyboard yet. I need to put some BPs in there and see the order of operations...

I tried using the gist above and got some weird behavior. I'll dig into it later. This also breaks on iPad. I'd rather have an unsynchronized keyboard animation over bad iPad support.

This still an issue?

Nope!

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BasThomas picture BasThomas  ·  3Comments

rnystrom picture rnystrom  ·  3Comments

rnystrom picture rnystrom  ·  3Comments

BasThomas picture BasThomas  ·  3Comments

BasThomas picture BasThomas  ·  3Comments