Skip to content

Conversation

@danbucholtz
Copy link
Contributor

The PR adds 700ms of padding to the duration if the keyboard is open. Typically on iOS, it takes about ~550ms of time to close the keyboard on my iPhone 6S. Once the transition is complete, the click block is disabled per the existing app logic. Basically, this has minimal to none effect on Android. On iOS, where it takes a bit to dismiss the keyboard, this prevents another transition from happening until the transition is complete, which will take ~550ms longer than usual when the keyboard is open.

keep the click block up longer if the keyboard is open

closes  #6540
}

let duration = transAnimation.getDuration();
let KEYBOARD_DURATION_PADDING = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename KEYBOARD_DURATION_PADDING to keyboardDurationPadding

…adding

changed formatting, reduced keyboard duration padding
@danbucholtz danbucholtz merged commit d6b7d5d into 2.0 Jun 13, 2016
@danbucholtz danbucholtz deleted the feature/keyboard-open-delay branch June 14, 2016 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants