question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

floatingLabel glitch

See original GitHub issue

Input with floatingLabel takes sometime to float the label.

Code

import React, {Component} from 'react';
import {Container, Content, Form, Input, Item, Label} from "native-base";

export default class LabScreen extends Component {
    render() {
        return (
            <Container>
                <Content>
                    <Form>
                        <Item floatingLabel>
                            <Label>Sample label</Label>
                            <Input
                            />
                        </Item>
                    </Form>
                </Content>
            </Container>
        );
    }
}

Output

untitled

I am on

"native-base": "^2.5.1",
    "react": "16.3.1",
    "react-native": "0.55.4",

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ZeroCool00commented, Jun 13, 2018

like i said… it never happen before… its just happen in this version native-base": "^2.5.1 if i downgrade to this version 2.4.4, this issue is gone.

0reactions
SupriyaKalghatgicommented, Jun 22, 2018

Fixed with 2.6.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Glitch met floating label on Safari - Material Design for Bootstrap
The floating label on inputs is not a "smooth" displacement from placeholder position to top position. It jumps too high and the drops...
Read more >
bug(mat-input): floating label is cut off · Issue #26083 - GitHub
build in latest angular with latest material as of 25/11/22. Expected Behavior. floating label to be visible when data entered into input ...
Read more >
IE11 Floating Input Label Bug (placeholder-shown issue?)
A login page I am working on will float a label above text input once some text is entered in the input field,...
Read more >
Floating Labels + Outline Inputs problem with jQuery
Hi, I've notice a little UI bug with Floating Label + Outline Inputs. When I try to precompile the form with jQuery using ......
Read more >
Angular Material Floating Label Bug (IE11) - CodePen
Label. {"__browser":{"device":"unknown","mobile":true,"name":"chrome","platform":"android","version":"107"},"__constants":{} ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found