Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed keyboard- always displayed #45

Open
trentbrooks opened this issue Jun 28, 2018 · 2 comments
Open

fixed keyboard- always displayed #45

trentbrooks opened this issue Jun 28, 2018 · 2 comments
Assignees

Comments

@trentbrooks
Copy link

Hi, is there a way to keep the keyboard onscreen/displayed at all times? eg. with showKeyboard somehow

@reganlawton
Copy link
Collaborator

@trentbrooks I'm looking into a way to pass a component into the for issue #44 this would also resolve your issue. However i might be possible to have a prop option if that's more favorable for your case.

You might also be able to do it using the ref option recently added.

@trentbrooks
Copy link
Author

Hey, yeah i've tried to set directly using the ref option. It works but the problem is this line https://github.com/xtrinch/react-touch-screen-keyboard/blob/master/src/KeyboardedInput.js#L119. If i catch the onBlur event and call this.inputRef.setState({ showKeyboard: true }) straight after it's set to false as the callback fires first. Any tips for a temporary fix?

@reganlawton reganlawton self-assigned this Oct 8, 2018
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

No branches or pull requests

2 participants