react-native-material-kit icon indicating copy to clipboard operation
react-native-material-kit copied to clipboard

Glitch!!!

Open theapache64 opened this issue 7 years ago • 0 comments

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 ?

theapache64 avatar Jun 04 '18 10:06 theapache64