Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Don't add keyboard-open to CSS if keyboard is already hidden #201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Don't add keyboard-open to CSS if keyboard is already hidden #201

wants to merge 1 commit into from

Conversation

sryze
Copy link

@sryze sryze commented Jan 31, 2017

Short description of what this resolves:

The 'keyboard-open' CSS class is added to body after a 400ms delay, but nothing stops somebody from hiding the keyboard during this short period of time, for example by tapping on empty space.

Changes proposed in this pull request:

  • Kill the timer responsible for adding this class when the keyboard hides.

Ionic Version: 1.x

See this comment for some more details:

ionic-team/ionic-framework#3041 (comment)

The 'keyboard-open' CSS class is added to body after a 400ms delay, but
nothing stops somebody from hiding the keyboard during this short period
of time, for example by tapping on empty space.

So we need to kill the timer responsible for adding this class when the
keyboard hides.

See this comment for some more details:

ionic-team/ionic-framework#3041 (comment)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant