Skip to content

Cannot get it to work #24

@alexbezhan

Description

@alexbezhan

I cann't get it to work properly. Here is how it looks for me:

http://i.imgur.com/nO1m1fg.gif

'use strict'

import React, {
    Component,
    AppRegistry,
    Text,
    TextInput,
    View,
    ScrollView,
} from 'react-native'
import { KeyboardAwareScrollView, } from 'react-native-keyboard-aware-scroll-view'

class KeyboardScrollTest extends Component {
    render() {
        return (
            <View style={{height:600}}>
                <View style={{flex:3}}></View>
                <View style={{flex:1}}>
                    <KeyboardAwareScrollView>
                        <TextInput style={{bordrerColor:'black',borderWidth:1,height:40}} />
                    </KeyboardAwareScrollView>
                </View>
            </View>
        )
    }
}

AppRegistry.registerComponent('KeyboardScrollTest', () => KeyboardScrollTest)

I've pushed the code https://github.com/OleksandrBezhan/react-native-keyboard-aware-scroll-view-test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions