File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 27
27
* <div id="google-map"></div>
28
28
* </div>
29
29
* ```
30
+ *
31
+ * Note: For performance reasons, elements will not be hidden for 400ms after the start of the `native.keyboardshow` event
32
+ * from the Ionic Keyboard plugin. If you would like them to disappear immediately, you could do something
33
+ * like:
34
+ *
35
+ * ```js
36
+ * window.addEventListener('native.keyboardshow', function(){
37
+ * document.body.classList.add('keyboard-open');
38
+ * });
39
+ * ```
40
+ * This adds the same `keyboard-open` class that is normally added by Ionic 400ms after the keyboard
41
+ * opens. However, bear in mind that adding this class to the body immediately may cause jank in any
42
+ * animations on Android that occur when the keyboard opens (for example, scrolling any obscured inputs into view).
43
+ *
30
44
* ----------
31
45
*
32
46
* ### Plugin Usage
You can’t perform that action at this time.
0 commit comments