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

On Android6, it is not working when I set android:windowSoftInputMode="adjustResize" #13

Open
binzailani3136 opened this issue Oct 6, 2016 · 3 comments

Comments

@binzailani3136
Copy link

Hi.
Thanks for creating such nice library.
But I've one issue on Android.
On Android, if I set android:windowSoftInputMode="adjustResize" on AndroidManifest file, this feature not works.
If I remove this configuration, it works but I have to use this configuration.
Is there anyway to use this feature with using android:windowSoftInputMode="adjustResize"?

@artald
Copy link
Collaborator

artald commented Oct 6, 2016

Hi,

If don't need the features of the KeyboardAwareScrollView on Android, you can always fall back to a regular ScrollView.

Something like this:

render() {
  const ScrollContainer = Platform.OS === 'ios' ? KeyboardAwareScrollView : ScrollView;
  return (
    <ScrollContainer>

      ...

    </ScrollContainer>
  );
}

@santhosh77h
Copy link

santhosh77h commented Feb 1, 2017

@artald problem is it not working if we rollback to scrollview also that's why I tried yours....
It's based on the windowsoftinputmode with adjustresize has some issues with scrollview text input focus

@kunal886496
Copy link

Answer please

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

4 participants