[ITEM] Floating label input with icon bug
See original GitHub issueI have gone through these following points
- Check latest documentation: https://docs.nativebase.io/
- Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
- Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
- Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
- For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
react-native, react and native-base version, expo version
React-Native : 0.59.8 React : 16.8.3 Expo : SDK33 Native Base : 2.13.4
Expected behaviour
Should print Icon in input with the floating Label
Actual behaviour
Icon missing and input bug (if you have many inputs, next one’s floating label doesn’t float up)
Steps to reproduce
<Item floatingLabel={true}> <Label>Input Label</Label> <Input/> <Icon name="checkmark"/> </Item>
Is the bug present in both iOS and Android or in any one of them?
Android : Yes iOS : Yes
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Input field with floating label and icon - Ionic Forum
I see a problem here. Float tag and placeholder don't go together (tag and the placeholder sort of are on top of each...
Read more >ion-input with icon at the end - Stack Overflow
i tried ion-item with slot="end" works but i dont want use that beacuse textbox show slightly right side ..I need some alternative solution ......
Read more >Icons and Floating Inputs: Ionic - Prototype A - WordPress.com
Hi all, i stuck on mixing an `ion-icon` with an `floating label` like in this the *Angular Material Bootstrap Inputs Demo* ...
Read more >Floating labels · Bootstrap v5.0
Create beautifully simple form labels that float over your input fields. ... method of CSS-only floating labels uses the :placeholder-shown pseudo-element.
Read more >react-native-floating-label-input - npm
Start using react-native-floating-label-input in your project by running `npm i ... Element, undefined, Add right component to your input.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We had the same issue with a recent project. Downgrading native-base to 2.12.1 fixed the issue for us.
The issue has been addressed and will be available in the next release, which is coming soon. Thank you!