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

How to disappears instantly narTab when user taps on TextInput box #2841

Closed
hoangph91 opened this issue Jan 30, 2018 · 2 comments
Closed

How to disappears instantly narTab when user taps on TextInput box #2841

hoangph91 opened this issue Jan 30, 2018 · 2 comments

Comments

@hoangph91
Copy link

red

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported)
  • react-native v0.?.?

Expected behaviour

Actual behaviour

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.

@mechabyte
Copy link

I would try refreshing the current navigation scene's state through Actions.refresh(). You could wire it up to a text input like so:


<TextInput
  onFocus={() => Actions.refresh({ hideTabBar: true })}
  onEndEditing=>{() => Actions.refresh({ hideTabBar: false })}
  value={this.state._etc_}
/>

RN TextInput docs: onFocus, onEndEditing

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 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

3 participants