question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android][TextInput]ShowSoftInputOnFocus has no effect

See original GitHub issue

Hi, On Android,ShowSoftInputOnFocus has no effect.

Steps to Reproduce

Use a <TextInput /> component .

Reproducible Demo

...
render() {
	return (
           ...
            <View >
                <TextInput showSoftInputOnFocus={false}  style={{backgroundColor: 'pink'}} />
          </View>
  );
};


export default App;

React Native version:

    OS: Linux 4.18 Ubuntu 18.04.2 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 582.26 MB / 15.50 GB
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/bin/node
    Yarn: 1.17.3 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 28
      Build Tools: 28.0.3, 29.0.0, 29.0.1
      System Images: android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
      Android NDK: 20.0.5594570
  npmPackages:
    react: 16.8.6 => 16.8.6 
    react-native: 0.60.3 => 0.60.3 
  npmGlobalPackages:
    react-native-cli: 2.0.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
jennifer-elysecommented, Jul 22, 2019

I have the same issue also

4reactions
johnshroffcommented, Jul 19, 2019

I’m having the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android show softkeyboard with showSoftInput is not working?
Calling showSoftInput() immediately has no visible result, but posting it on a delay causes the keyboard to display correctly. I initially ...
Read more >
[Android][TextInput]ShowSoftInputOnFocus has no effect #25685
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked ...
Read more >
TextInput - React Native
A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, ...
Read more >
Switch Class (Android.Widget) - Microsoft Learn
Returns whether the view hierarchy is currently undergoing a layout pass. (Inherited from View). IsInputMethodTarget. Returns whether this text view is a ...
Read more >
types/react-native/index.d.ts - UNPKG
1704, * The string that will be rendered before text input has been entered ... 1990, * Only supported on Android 5.0+, has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found