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

Keyboard disappears instantly when user taps on input #2442

Closed
SoldierCorp opened this issue Sep 27, 2017 · 11 comments
Closed

Keyboard disappears instantly when user taps on input #2442

SoldierCorp opened this issue Sep 27, 2017 · 11 comments

Comments

@SoldierCorp
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta.21 (v3 is not supported)
  • react-native v0.48.3

Expected behaviour

Don't hide the keyboard when the user taps on input

Actual behaviour

When the user taps on an input the keyboard shows up but instantly it hides and I've been tested all my plugins separately and the issue is when I'm implementing the Router with your package.

This is my Router.js for this demo

<Router createReducer={reducerCreate} openSideMenu={props.openSideMenu} closeSideMenu={props.closeSideMenu}>
      <Stack key='root'>
        <Scene key='login' hideNavBar='true' component={Login} type={ActionConst.REPLACE} />
      </Stack>
</Router>

It's very simple, I deleted all the other scenes in order to test just the login and the error is still there.

Hope you can help me.

@mcabs3
Copy link
Collaborator

mcabs3 commented Sep 30, 2017

Can you provide a video or snapshot of what you are experiencing. What TextInput are you selecting on which component, etc. Snippets and videos are very helpful if an issue is hard to document.

@m-sanduka
Copy link

same issue here, when I updated the router-flux to version v4.0.0-beta.21 the problem started to happen on android keyboard ... did u find the issue ?!

@SoldierCorp
Copy link
Author

@koblinec
Copy link

"react-native": "^0.48.4"
"react-native-router-flux": "^4.0.0-beta.22"

my problem was the react-native-drawer component. I replaced this component in the react-native-router-flux drawer and everything works perfectly

@SoldierCorp
Copy link
Author

Yes, yesterday at morning I realised of it and now I don't have that issue anymore :)

react-native-drawer was the problem.

@syq7970
Copy link

syq7970 commented Nov 26, 2017

@SoldierCorp I have the same issual, could you please tell me how to fix this? thx

@fauzzi
Copy link

fauzzi commented Dec 13, 2017

Hi @syq7970, @SoldierCorp I have same issue for dismiss keyboard in Android, for IOS this fine.
The issue is I have Slider using IndicatorViewPager with autoPlayEnable is true. My router flux using Tab. I set the Slider in dashboard. May be you can check each your Scene that have some autopalay active or not,

@syq7970
Copy link

syq7970 commented Dec 13, 2017

@fauzzi Thanks! actually I using IndicatorViewPager too, after check my scene, issue just solved.

@munkhorgil
Copy link

@mcabs3 I got the same problem I don't have any slider, this issue needs to be open

@ZeerakHameem32
Copy link

@fauzzi @syq7970 how did you guys solve this issue? I am also using the autoPlayEnable = true.

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

9 participants