EddyVerbruggen/cordova-plugin-native-keyboard

What part of the React lifecycle is the best place to run the code to show the keyboard?

Offen

#102 geöffnet am 14.06.2019

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Objective-C (64 Forks)github user discovery
help wantedquestion

Repository-Metriken

Stars
 (270 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I am trying to integrate this into a React app, and I am noticing that the keyboard opens, closes, and then opens again and the whole viewport resizes and looks awful.

This is when running the keyboard launch in the render() method - is there a better way to launch the keyboard in React? React Cordova apps are relatively rare and I'm not seeing many instances of how to handle this.

Contributor Guide