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

Glitch!!! #395

Open
theapache64 opened this issue Jun 4, 2018 · 0 comments
Open

Glitch!!! #395

theapache64 opened this issue Jun 4, 2018 · 0 comments

Comments

@theapache64
Copy link

theapache64 commented Jun 4, 2018

When i try to use MKTextField.textfieldWithFloatingLabel , I am getting weird output.

Sometimes with congested text and label

image

Sometimes with broken underline/partially drawn underline

image

Sometimes it works perfect
image

Below given full code

import React, {Component} from 'react';
import { View} from 'react-native';
import {MKTextField} from 'react-native-material-kit';

const BaseTextField = MKTextField.textfieldWithFloatingLabel()
    .build();

type PropTypes = {}
export default class Lab extends Component<PropTypes> {
    render() {
        return (
            <View style={{flex: 1,padding:10}}>

                <BaseTextField
                    placeholder="Name"
                />

            </View>
        );
    }
}

Is this a bug, or am i doing something wrong ?

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

1 participant