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

Android - Page scrolls down when i start typing #333

Open
onur-dev opened this issue Jan 6, 2019 · 19 comments
Open

Android - Page scrolls down when i start typing #333

onur-dev opened this issue Jan 6, 2019 · 19 comments

Comments

@onur-dev
Copy link

onur-dev commented Jan 6, 2019

Until typing everything is ok. However after starting typing page scrolls down(shifting). I am not able to solve this whatever i do...

<ImageBackground
          source={bgSrc}
          style={styles.background}
          resizeMode="cover">

         <StatusBar hidden={true} />
        
          <KeyboardAwareScrollView
            showsVerticalScrollIndicator={false}
            enableOnAndroid
          >

            {screenToShow}

          </KeyboardAwareScrollView>

</ImageBackground>

const styles = StyleSheet.create({
  container: {
    width: '100%',
    height: height,
    backgroundColor: '#555',
  },
  background: {
    flex: 1,
    width: null,
    height: null,
    justifyContent: 'center',
    alignItems: 'center'
  }
});

screenshot_20190106-121252_game news

After typing in password field page moves down as u see:

screenshot_20190106-121257_game news

@onur-dev onur-dev changed the title Android - Page scrolls down when i start tying Android - Page scrolls down when i start typing Jan 6, 2019
@onur-dev
Copy link
Author

onur-dev commented Jan 6, 2019

I ended up using normal Scrollview instead of this. Because this library is too buggy for Android environment :(

@keerthi0611
Copy link

Hi...
Even i am facing the same issue. Any updates on this issue?

@keerthi0611
Copy link

This issue is still found in Android version 7.0 and above. It is perfectly working fine in android version below 7.

@jlally21
Copy link

Facing same issue

@krisxcrash
Copy link

same issue but on ios also :)

@krisxcrash
Copy link

Was anyone able to find a workaround to this issue? This is happening on iOS as well for me.

@ducpt2
Copy link

ducpt2 commented Feb 10, 2020

+1 facing same issue, don't know how to fix it :(

@dhavalpanchani
Copy link

+1

@MichaelKim39
Copy link

+1 still facing this issue

@dhairyasenjaliya
Copy link

hello Facing same issue any solution?

@andry1001
Copy link

+1

@dhairyasenjaliya
Copy link

this library is buggy try this library instead https://www.npmjs.com/package/react-native-keyboard-manager

@martinattin
Copy link

changing android:windowSoftInputMode mode to

    android:windowSoftInputMode="adjustResize"
    in androidmanifest fixed this issue for me.

@pqminh
Copy link

pqminh commented Apr 28, 2021

+1

1 similar comment
@c-goettert
Copy link

+1

@MantasMikal
Copy link

Did anyone managed to work around this?

@MatkoMilic
Copy link

Same issues on Android.

@AndrejStarusev
Copy link

Still actual

@lwhallock
Copy link

  • 1

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